Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
SUSE:SLE-15-SP7:Update
transfig.20226
transfig-fix-afl.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File transfig-fix-afl.patch of Package transfig.20226
--- fig2dev-3.2.8/fig2dev/alloc.h | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) --- fig2dev-3.2.8/fig2dev/alloc.h +++ fig2dev-3.2.8/fig2dev/alloc.h 2021-02-12 09:43:47.313357380 +0000 @@ -19,15 +19,15 @@ #ifndef ALLOC_H #define ALLOC_H -#define Line_malloc(z) z = malloc(LINOBJ_SIZE) -#define Pic_malloc(z) z = malloc(PIC_SIZE) -#define Spline_malloc(z) z = malloc(SPLOBJ_SIZE) -#define Ellipse_malloc(z) z = malloc(ELLOBJ_SIZE) -#define Arc_malloc(z) z = malloc(ARCOBJ_SIZE) -#define Compound_malloc(z) z = malloc(COMOBJ_SIZE) -#define Text_malloc(z) z = malloc(TEXOBJ_SIZE) -#define Point_malloc(z) z = malloc(POINT_SIZE) -#define Control_malloc(z) z = malloc(CONTROL_SIZE) -#define Arrow_malloc(z) z = malloc(ARROW_SIZE) +#define Line_malloc(z) z = calloc(LINOBJ_SIZE,1) +#define Pic_malloc(z) z = calloc(PIC_SIZE,1) +#define Spline_malloc(z) z = calloc(SPLOBJ_SIZE,1) +#define Ellipse_malloc(z) z = calloc(ELLOBJ_SIZE,1) +#define Arc_malloc(z) z = calloc(ARCOBJ_SIZE,1) +#define Compound_malloc(z) z = calloc(COMOBJ_SIZE,1) +#define Text_malloc(z) z = calloc(TEXOBJ_SIZE,1) +#define Point_malloc(z) z = calloc(POINT_SIZE,1) +#define Control_malloc(z) z = calloc(CONTROL_SIZE,1) +#define Arrow_malloc(z) z = calloc(ARROW_SIZE,1) #endif /* ALLOC_H */
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