Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:12.2
star
star-1.5.1-bufferoverflow.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File star-1.5.1-bufferoverflow.patch of Package star
diff -urNp star-1.5.1-orig/star/longnames.c star-1.5.1/star/longnames.c --- star-1.5.1-orig/star/longnames.c 2009-10-16 00:38:55.000000000 +0200 +++ star-1.5.1/star/longnames.c 2010-02-03 13:36:03.000000000 +0100 @@ -155,7 +155,7 @@ name_to_tcb(info, ptb) if (add) strcatl(ptb->dbuf.t_name, name, "/", (char *)NULL); else - strcpy(ptb->dbuf.t_name, name); + strncpy(ptb->dbuf.t_name, name, props.pr_maxsname); return (TRUE); }
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