http://anonsvn.wireshark.org/viewvc/viewvc.cgi?view=rev&revision=32616
User: morriss
Date: 2010/04/30 02:40 PM
Log:
Fix https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=1696 :
The change put in with rev 11382 meant that, on 64-bit systems, we could not
parse negative numbers into integers (since -1 taken as an unsigned 64-bit
number is (significantly) larger than G_MAX_UINT32).
To fix this, split the val_from_unparsed() routine for integers into two
routines: one for signed and one for unsigned; each routine can then do the
appropriate "is this bigger than what fits in a *32?" test.
Directory: /trunk/epan/ftypes/
Changes Path Action
+57 -12 ftype-integer.c Modified