Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:12.1
wireshark
wireshark-1.2.17-CVE-2011-2175.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File wireshark-1.2.17-CVE-2011-2175.patch of Package wireshark
--- trunk/wiretap/visual.c 2011/05/13 17:05:05 37127 +++ trunk/wiretap/visual.c 2011/05/13 17:12:44 37128 @@ -420,6 +420,15 @@ break; } + if (wth->phdr.len > WTAP_MAX_PACKET_SIZE) { + /* Check if wth->phdr.len is sane, small values of wth.phdr.len before + the case loop above can cause integer underflows */ + *err = WTAP_ERR_BAD_RECORD; + *err_info = g_strdup_printf("visual: File has %u-byte original packet, bigger than maximum of %u", + wth->phdr.len, WTAP_MAX_PACKET_SIZE); + return FALSE; + } + /* Sanity check */ if (wth->phdr.len < wth->phdr.caplen) {
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor