Patch to src/lib/rpc/svc_auth_gss.c for CVE-2007-5902

Albert Chin krbdev at mlists.thewrittenword.com
Fri Mar 21 10:01:43 EDT 2008


The patch to src/lib/rpc/svc_auth_gss.c for CVE-2007-5902 assumes
SIZE_MAX is available. This is not the case on HP-UX 11.23 unless you
#include <stdint.h> and HP-UX 11.11 does not have <stdint.h>.

So, how about adding the following to the top of the file (taken from
gnulib):
  #ifndef SIZE_MAX
  # define SIZE_MAX ((size_t) -1)
  #endif

-- 
albert chin (china at thewrittenword.com)



More information about the krbdev mailing list