Wireshark-commits: [Wireshark-commits] rev 52615: /trunk/epan/ /trunk/epan/: oids.c

Date: Tue, 15 Oct 2013 12:34:46 GMT
http://anonsvn.wireshark.org/viewvc/viewvc.cgi?view=rev&revision=52615

User: eapache
Date: 2013/10/15 12:34 PM

Log:
 Fix a length check in the OID code, we add an extra byte if is_first, not the
 other way around. Also add an assert so it blows up if we get it wrong, rather
 than leading to uninitialized memory.
 
 Fixes the last errors I can find in
 https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=9268

Directory: /trunk/epan/
  Changes    Path          Action
  +3 -1      oids.c        Modified