bug-gnustep
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Potential problems in GSMimeParse and libobjc.so.1.0.0


From: Manuel Guesdon
Subject: Potential problems in GSMimeParse and libobjc.so.1.0.0
Date: Thu, 20 Mar 2003 12:02:59 +0100 (CET)

Hi,

FYI, using valgrind, I get the following warnings on GSMimeParser

==425== Conditional jump or move depends on uninitialised value(s)
==425==    at 0x40E71CF6: _i_GSMimeParser_Private__unfoldHeader (GSMime.m:2431)
==425==    by 0x40E6E369: _i_GSMimeParser__parse_ (GSMime.m:1158)


==425== Use of uninitialised value of size 4
==425==    at 0x40E71D0D: _i_GSMimeParser_Private__unfoldHeader (GSMime.m:2431)
==425==    by 0x40E6E369: _i_GSMimeParser__parse_ (GSMime.m:1158)


==425== Invalid read of size 1
==425==    at 0x40E71CEF: _i_GSMimeParser_Private__unfoldHeader (GSMime.m:2431)
==425==    by 0x40E6E369: _i_GSMimeParser__parse_ (GSMime.m:1158)
==425==    by 0x40E7173F: _i_GSMimeParser_Private__decodeBody_ (GSMime.m:2286)
==425==    by 0x40E6E69B: _i_GSMimeParser__parse_ (GSMime.m:1231)
==425==    Address 0x50993449 is 0 bytes after a block of size 89 alloc'd
==425==    at 0x40045B4C: malloc (vg_clientfuncs.c:100)
==425==    by 0x40F1EC5F: objc_malloc (in /usr/lib/libobjc.so.1.0.0)
==425==    by 0x40E4C45F: default_malloc (NSZone.m:505)
==425==    by 0x40DB71A4: NSZoneMalloc (../Headers/Foundation/NSZone.h:201)
==425==    by 0x40DB660E: _i_NSMutableDataMalloc__setCapacity_ (NSData.m:3418)
==425==    by 0x40DB56DF: _i_NSMutableDataMalloc___grow_ (NSData.m:3061)
==425==    by 0x40DB55FC: _i_NSMutableDataMalloc__appendBytes_length_ 
(NSData.m:3036)
==425==    by 0x40E6E2CD: _i_GSMimeParser__parse_ (GSMime.m:1152)
==425==    by 0x40E7173F: _i_GSMimeParser_Private__decodeBody_ (GSMime.m:2286)
==425==    by 0x40E6E69B: _i_GSMimeParser__parse_ (GSMime.m:1231)

and on libobjc v 1.0.0

==425== Invalid read of size 4
==425==    at 0x40F2060F: sarray_free (in /usr/lib/libobjc.so.1.0.0)
==425==    by 0x40F20939: sarray_free (in /usr/lib/libobjc.so.1.0.0)
==425==    by 0x40F2295D: __objc_update_dispatch_table_for_class (in 
/usr/lib/libobjc.so.1.0.0)
==425==    by 0x40F22989: __objc_update_dispatch_table_for_class (in 
/usr/lib/libobjc.so.1.0.0)
==425==    by 0x40F21D89: class_add_method_list (in /usr/lib/libobjc.so.1.0.0)
==425==    by 0x40E82977: behavior_class_add_methods (behavior.m:331)
==425==    by 0x40E826F8: behavior_class_add_class (behavior.m:135)
==425==    Address 0x459552C0 is 128 bytes inside a block of size 132 free'd
==425==    at 0x40045E78: free (vg_clientfuncs.c:180)
==425==    by 0x40F1EDEE: objc_free (in /usr/lib/libobjc.so.1.0.0)
==425==    by 0x40F208D0: sarray_free (in /usr/lib/libobjc.so.1.0.0)
==425==    by 0x40F20939: sarray_free (in /usr/lib/libobjc.so.1.0.0)
==425==    by 0x40F20939: sarray_free (in /usr/lib/libobjc.so.1.0.0)
==425==    by 0x40F2295D: __objc_update_dispatch_table_for_class (in 
/usr/lib/libobjc.so.1.0.0)
==425==    by 0x40F22989: __objc_update_dispatch_table_for_class (in 
/usr/lib/libobjc.so.1.0.0)
==425==    by 0x40F21D89: class_add_method_list (in /usr/lib/libobjc.so.1.0.0)
==425==    by 0x40E82977: behavior_class_add_methods (behavior.m:331)
==425==    by 0x40E826F8: behavior_class_add_class (behavior.m:135)

Manuel
--
______________________________________________________________________
Manuel Guesdon - ORANGE CONCEPT <mguesdon@orange-concept.com>
14 rue Jean-Baptiste Clement  -  93200 Saint-Denis  -  France
Tel: +33 1 4940 0997  -  Fax: +33 1 4940 0998





reply via email to

[Prev in Thread] Current Thread [Next in Thread]