Huge thanks to our Platinum Members Endace and LiveAction,
and our Silver Member Veeam, for supporting the Wireshark Foundation and project.

Wireshark-commits: [Wireshark-commits] rev 25392: /trunk/wiretap/ /trunk/wiretap/: iseries.c

Date: Thu, 29 May 2008 23:30:53 GMT
http://anonsvn.wireshark.org/viewvc/viewvc.cgi?view=rev&revision=25392

User: guy
Date: 2008/05/29 04:30 PM

Log:
 Have iseries_parse_hex_string() take a "const char *" as its first
 argument, as
 
 	1) it doesn't modify the string that argument points to
 
 and
 
 	2) it's a buffer of "char".
 
 Use g_ascii_xdigit_value() and put the values of the two bytes together
 ourselves; strtoul() is a bit of overkill for two-hex-digit pairs. 
 While we're at it, check for invalid hex digits, and for bytes where
 only one hex digit is present.

Directory: /trunk/wiretap/
  Changes    Path          Action
  +20 -7     iseries.c     Modified