Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Evergreen:11.2
ed
ed-0.2-file-name-overflow.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File ed-0.2-file-name-overflow.patch of Package ed
Index: ed-0.2/main.c =================================================================== --- ed-0.2.orig/main.c +++ ed-0.2/main.c @@ -231,6 +231,11 @@ top: else { sigactive = 1; /* enable signal handlers */ + if (argc && strlen(*argv) >= PATH_MAX) + { + fprintf(stderr, "Invalid filename\n"); + quit(2); + } if (argc && **argv && is_legal_filename (*argv)) { if (read_file (*argv, 0) < 0 && is_regular_file (0))
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