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

Wireshark-bugs: [Wireshark-bugs] [Bug 6844] Universal Alcatel Protocol - Reloaded

Date: Sat, 9 Jun 2012 04:11:46 -0700 (PDT)
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=6844

Jakub Zawadzki <darkjames-ws@xxxxxxxxxxxx> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |darkjames-ws@xxxxxxxxxxxx

--- Comment #27 from Jakub Zawadzki <darkjames-ws@xxxxxxxxxxxx> 2012-06-09 04:11:45 PDT ---
In str_to_ipaddr() 'p' can point after NUL.

for (i = 0; i < 4; i++) {
  value = 0;
  while (*p != '.' && *p != '\0') {  <---- while-loop will terminate when *p ==
0
    value = value * 10 + (*p - '0');
    p++;
  }
  /* ... */
  p++; <--- p points after NUL.
}

Lars please fix or just use inet_aton()/sscanf().

-- 
Configure bugmail: https://bugs.wireshark.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.