https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=14663

            Bug ID: 14663
           Summary: CWE-120
           Product: Wireshark
           Version: Git
          Hardware: x86
                OS: Linux
            Status: UNCONFIRMED
          Severity: Major
          Priority: Low
         Component: Build process
          Assignee: bugzilla-ad...@wireshark.org
          Reporter: mishra.dhira...@gmail.com
  Target Milestone: ---

Build Information:
git clone https://github.com/wireshark/wireshark.git
--
Hi Team, 

This issue was observed while performing code analysis, I am not sure about
this but.

https://github.com/wireshark/wireshark/blob/master/wsutil/unicode-utils.c#L72

i.e

while (MultiByteToWideChar(CP_UTF8, 0, utf8str,

and 

https://github.com/wireshark/wireshark/blob/master/wsutil/unicode-utils.c#L84

i.e

if (MultiByteToWideChar(CP_UTF8, 0, utf8str,


Requires maximum length in CHARACTERS, not in bytes.

Request team to please have a look.



Cheers

-- 
You are receiving this mail because:
You are watching all bug changes.
___________________________________________________________________________
Sent via:    Wireshark-bugs mailing list <wireshark-bugs@wireshark.org>
Archives:    https://www.wireshark.org/lists/wireshark-bugs
Unsubscribe: https://www.wireshark.org/mailman/options/wireshark-bugs
             mailto:wireshark-bugs-requ...@wireshark.org?subject=unsubscribe

Reply via email to