Source: tss2
Version: 1045-1
Severity: important
Tags: upstream
Justification: fails to build from source

The build of tss2 for hurd-i386 (admittedly not a release
architecture) failed because the Hurd has no fixed MAXPATHLEN:

  imalib.h:126:22: error: 'MAXPATHLEN' undeclared here (not in a function)
       uint8_t fileName[MAXPATHLEN+1];
Could you please account for this possibility?  Best practice is to
allocate memory dynamically based on pathconf(_PC_PATH_MAX);
alternatively, some software simply supplies a fallback definition,
typically 4096.


Aaron M. Ucko, KB1CJC (amu at, ucko at |

Reply via email to