Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
DISCONTINUED:openSUSE:11.1:Update
krb5-plugins
krb5-1.5.1-fix-strncat-warning.dif
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File krb5-1.5.1-fix-strncat-warning.dif of Package krb5-plugins
--- src/lib/krb4/g_cnffile.c +++ src/lib/krb4/g_cnffile.c 2006/10/30 11:12:26 @@ -68,7 +68,7 @@ &full_name); if (retval == 0 && full_name && full_name[0]) { retname[0] = '\0'; - strncat(retname, full_name[0], sizeof(retname)); + strncat(retname, full_name[0], sizeof(retname)-strlen(retname)-1); for (cpp = full_name; *cpp; cpp++) krb5_xfree(*cpp); krb5_xfree(full_name); @@ -76,7 +76,7 @@ } } retname[0] = '\0'; - strncat(retname, default_srvtabname, sizeof(retname)); + strncat(retname, default_srvtabname, sizeof(retname)-strlen(retname)-1); return retname; }
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