Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Step:FrontRunner
cdrtools.17306
fix_junk_in_partition.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File fix_junk_in_partition.patch of Package cdrtools.17306
Index: cdrtools-3.02/libhfs_iso/internal.h =================================================================== --- cdrtools-3.02.orig/libhfs_iso/internal.h +++ cdrtools-3.02/libhfs_iso/internal.h @@ -26,7 +26,7 @@ # define ERROR(code, str) (hfs_error = (str), errno = (code)) # define SIZE(type, n) ((size_t) (sizeof(type) * (n))) -# define ALLOC(type, n) ((type *) malloc(SIZE(type, n))) +# define ALLOC(type, n) ((type *) calloc(sizeof(type), n)) # define ALLOCX(type, n) ((n) ? ALLOC(type, n) : (type *) 0) # define FREE(ptr) {if (ptr) free((void *) ptr) ;}
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