In gssapi.h the gss_buffer_desc structure looks like:

typedef struct gss_buffer_desc_struct {
        size_t length;
        void *value;
} gss_buffer_desc, *gss_buffer_t;

In ssh/sshd/auth2-gss.c a call to packet_get_string() is made using the length 
field of this structure. This requires a uint_t parameter. Now for sparc/i386 
in 32-bit mode this is what size_t is. However, for other platforms and for the 
64-bit world size_t may be unsigned long. Thus, compilation of auth2-gss.c 
results in a warning which, because of the -Werror flag, results in the warning 
being treated as an error and we fail. Should, in fact, length be uint_t (or 
OM_uint32)?

Neale
-- 
This message posted from opensolaris.org
_______________________________________________
opensolaris-code mailing list
opensolaris-code@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/opensolaris-code

Reply via email to