On Tue, Sep 25, 2001 at 10:19:49PM -0400, Mike A. Harris wrote:
>     (void) sprintf(openLicenseString, "%s:%d",
>                    LICENSE_METHOD_OPEN,
>                    OPEN_LICENSE_VERSION);

Actually, this got me thinking of something I saw the other day in X11R6.6 and
wouldn't be surprised to see in XFree86.  In xc/lib/xtrans, there was a call
to malloc in which the only #include in the file was <ctype.h>.  I tried
compiling a 64 bit library and it seg faulted because malloc wasn't prototyped
and the compiler (warned and) assumed an int type, which is only 32 bits long.

Anyway, does XFree86 handle these kinds of bugs and are there public patches
for them?  After fixing that (added #include <malloc.h>), I got a bus error in
another section of code.  I probably should report these to the X group...

Jeff

-- 
Jeff Brubaker - [EMAIL PROTECTED] - http://jeffro.net/
_______________________________________________
Xpert mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/xpert

Reply via email to