Wireshark-bugs: [Wireshark-bugs] [Bug 2162] for() loop evaluation order in ep_strndup() can trig
Date: Fri, 4 Jan 2008 22:05:42 +0000 (GMT)
http://bugs.wireshark.org/bugzilla/show_bug.cgi?id=2162





------- Comment #7 from jaap.keuter@xxxxxxxxx  2008-01-04 22:05 GMT -------
(In reply to comment #4)
Hi,

I dug up the current C standard, and yes, this works as advertised for the
first two expressions evaluated. Since there are only two involved this works.

> I believe the patch is necessary.

So do I.

> And with the patch applied, these particular valgrind messages stopped, so it
> makes looking for other potentional problems with valgrind easier! ;-) 

Which is a Good Thing(sm)


-- 
Configure bugmail: http://bugs.wireshark.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.