Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Evergreen:11.1:Test
iputils
iputils-ss021109-ping_common.dif
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File iputils-ss021109-ping_common.dif of Package iputils
--- ping_common.c 2006-12-01 12:58:33.000000000 +0100 +++ ping_common.c 2006-12-01 12:59:59.000000000 +0100 @@ -187,6 +187,13 @@ fprintf(stderr, "ping: illegal negative packet size %d.\n", datalen); exit(2); } + if (datalen > 0xFFFF - 8 ) { + if (uid || datalen > 0xFFFF ) { + fprintf(stderr, "Error: packet size %d is too large. Maximim is %d\n", datalen, 0xFFFF - 8); + exit(2); + } + fprintf(stderr, "WARNING: packet size %d is too large. Maximim is %d\n", datalen, 0xFFFF - 8 ); + } break; case 'v': options |= F_VERBOSE;
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