Huge thanks to our Platinum Members Endace and LiveAction,
and our Silver Member Veeam, for supporting the Wireshark Foundation and project.

Wireshark-bugs: [Wireshark-bugs] [Bug 5534] WPS: Implements Primary Device Type decryption

Date: Sun, 6 Feb 2011 23:45:47 -0800 (PST)
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=5534

Jaap Keuter <jaap.keuter@xxxxxxxxx> changed:

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

--- Comment #4 from Jaap Keuter <jaap.keuter@xxxxxxxxx> 2011-02-07 08:45:46 CET ---
(From update of attachment 5719)
hf_eapwps_tlv_primary_device_type_subcategory[tvb_get_ntohs(tvb, offset+4) - 1]

You cannot be sure that the index won't overrun the array boundaries, since you
cannot be sure you receive valid packets. Therefore this indexing has to be
verified first.

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