In Additions/Unicode.m
Line 326, you have
    326       encodings = objc_malloc(sizeof(NSStringEncoding) *
        encTableSize);
This should be objc_malloc(sizeof(NSStringEncoding) * (encTableSize
   + 1);

Setting encodings[pos] = 0; could potentially write to non-allocated
memory if all encodings are supported.  Or at least afaict.
-- 
Andrew Ruder


_______________________________________________
Bug-gnustep mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/bug-gnustep

Reply via email to