Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Maintenance:1787
dosfstools.openSUSE_12.2_Update
dosfstools-label-crash.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File dosfstools-label-crash.patch of Package dosfstools.openSUSE_12.2_Update
Index: dosfstools-3.0.10/src/boot.c =================================================================== --- dosfstools-3.0.10.orig/src/boot.c +++ dosfstools-3.0.10/src/boot.c @@ -490,11 +490,14 @@ static void write_volume_label(DOS_FS *f struct tm *mtime = localtime(&now); loff_t offset; DIR_ENT de; + char entry[12]; offset = find_volume_de(fs, &de); if (offset == 0) { - offset = alloc_rootdir_entry(fs, &de, label); + strncpy(entry, label, 11); + entry[11] = '\0'; + offset = alloc_rootdir_entry(fs, &de, entry); /*return 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