Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Evergreen:11.4
zfs-fuse
zfs-fuse-0.6.9-fix-strncat-usage.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File zfs-fuse-0.6.9-fix-strncat-usage.patch of Package zfs-fuse
diff -ur zfs-fuse-0.6.9.orig/src/lib/libzfs/libzfs_sendrecv.c zfs-fuse-0.6.9/src/lib/libzfs/libzfs_sendrecv.c --- zfs-fuse-0.6.9.orig/src/lib/libzfs/libzfs_sendrecv.c 2010-06-04 21:03:04.000000000 +0200 +++ zfs-fuse-0.6.9/src/lib/libzfs/libzfs_sendrecv.c 2010-11-17 16:07:02.000000000 +0100 @@ -2341,7 +2341,7 @@ */ (void) strcpy(zc.zc_top_ds, tosnap); (void) strcpy(zc.zc_value, tosnap); - (void) strncat(zc.zc_value, chopprefix, sizeof (zc.zc_value)); + (void) strncat(zc.zc_value, chopprefix, sizeof (zc.zc_value)-strlen(zc.zc_value)-1); free(cp); if (!zfs_name_valid(zc.zc_value, ZFS_TYPE_SNAPSHOT)) { zcmd_free_nvlists(&zc);
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