Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
DISCONTINUED:openSUSE:11.2
groff
fgets-overflow.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File fgets-overflow.patch of Package groff
--- src/devices/grops/ps.cc +++ src/devices/grops/ps.cc @@ -740,8 +740,8 @@ if (fp == 0) fatal("can't open encoding file `%1'", encoding); int lineno = 1; - char buf[256]; - while (fgets(buf, 512, fp) != 0) { + char buf[512]; + while (fgets(buf, sizeof(buf), fp) != 0) { char *p = buf; while (csspace(*p)) p++;
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