1 | initial version |
On the GUI it works fine, but it allows "-1" to be input
That's a bug; if it's unsigned, you shouldn't be allowed to specify a sign. (Yes, that means that strtoul()
and company don't do enough error checking for code that wants to disallow signs for unaligned values.)
Please file a bug on that in the Wireshark Bugzilla.