Wireshark-commits: [Wireshark-commits] rev 46705: /trunk/epan/ /trunk/epan/: tvbuff.c

Date: Sat, 22 Dec 2012 22:35:07 GMT
http://anonsvn.wireshark.org/viewvc/viewvc.cgi?view=rev&revision=46705

User: martink
Date: 2012/12/22 02:35 PM

Log:
 check the length parameter for tvb_get_unicode_string() and
 tvb_get_ephemeral_unicode_string(), throw an exception for invalid
 lengths (including -1, but length==-1 does not work for other tvb string
 functions either)
 
 I believe this is the proper fix for
 https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=8112

Directory: /trunk/epan/
  Changes    Path          Action
  +4 -0      tvbuff.c      Modified