ANNOUNCEMENT: Live Wireshark University & Allegro Packets online APAC Wireshark Training Session
April 17th, 2024 | 14:30-16:00 SGT (UTC+8) | Online

Wireshark-bugs: [Wireshark-bugs] [Bug 2162] for() loop evaluation order in ep_strndup() can trig

Date: Fri, 4 Jan 2008 07:06:57 +0000 (GMT)
http://bugs.wireshark.org/bugzilla/show_bug.cgi?id=2162





------- Comment #2 from jaap.keuter@xxxxxxxxx  2008-01-04 07:06 GMT -------
In theory there's no sequence point in the expression "(i<len) && src[i]", so
that doesn't address the problem. However, most(?) modern day compilers are
able to short circuit such expression, hence fix the problem anyway.


-- 
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.