Wireshark-bugs: [Wireshark-bugs] [Bug 6452] packet-ajp13 fix, cleanup, and enhancement
Date: Wed, 12 Oct 2011 03:21:11 -0700 (PDT)
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=6452

Iain Arnell <iarnell@xxxxxxxxx> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Attachment #7216|                            |review_for_checkin?
               Flag|                            |

--- Comment #1 from Iain Arnell <iarnell@xxxxxxxxx> 2011-10-12 03:21:10 PDT ---
Created an attachment (id=7216)
 --> (https://bugs.wireshark.org/bugzilla/attachment.cgi?id=7216)
fix returned length of string

Revision 35984 introduced a regression in ajp13_get_nstring. According
to the comments, the returned length _includes_ the trailing null.
The encoded length, however, does _not_ including the trailing null.
This patch resolves the problem by simply adding 1 to the returned
length.

-- 
Configure bugmail: https://bugs.wireshark.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.