Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:gregfreemyer:Tools-for-forensic-boot-cd
afflib
afflib-3.6.12-fix-vvfat-overflow.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File afflib-3.6.12-fix-vvfat-overflow.patch of Package afflib
--- old/lib/qemu/block-vvfat.c 2011-05-29 00:55:09.024353723 +0200 +++ new/lib/qemu/block-vvfat.c 2011-05-29 00:56:05.041937980 +0200 @@ -870,7 +870,17 @@ { direntry_t* entry=array_get_next(&(s->directory)); entry->attributes=0x28; /* archive | volume label */ - snprintf((char*)entry->name,11,"QEMU VVFAT"); + entry->name[0] = 'Q'; + entry->name[1] = 'E'; + entry->name[2] = 'M'; + entry->name[3] = 'U'; + entry->name[4] = ' '; + entry->name[5] = 'V'; + entry->name[6] = 'V'; + entry->name[7] = 'F'; + entry->extension[0] = 'A'; + entry->extension[1] = 'T'; + entry->extension[2] = '\000'; } /* Now build FAT, and write back information into directory */
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