Wireshark-commits: [Wireshark-commits] rev 46813: / /trunk-1.6/epan/: tvbuff.c
Date: Thu, 27 Dec 2012 19:42:56 GMT
http://anonsvn.wireshark.org/viewvc/viewvc.cgi?view=rev&revision=46813

User: eapache
Date: 2012/12/27 11:42 AM

Log:
 Copy over from trunk:
 ------------------------------------------------------------------------
 r46705 | martink | 2012-12-22 17:35:07 -0500 (Sat, 22 Dec 2012) | 8 lines
 
 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-1.6/epan/
  Changes    Path          Action
  +4 -0      tvbuff.c      Modified