Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:12.2:ARM
ntop
ntop-remove_ntop_safefree.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File ntop-remove_ntop_safefree.patch of Package ntop
Index: ntop-4.1.0/globals-core.h =================================================================== --- ntop-4.1.0.orig/globals-core.h +++ ntop-4.1.0/globals-core.h @@ -254,10 +254,6 @@ extern void allocDeviceMemory(int device #ifdef MAKE_WITH_SAFER_ROUTINES -/* Fix to the free prototype courtesy of Tanner Lovelace <lovelace@opennms.org> */ -/* Fix free() courtesy of Benoit Dolez <bdolez@exosec.fr> */ -#define free(a) { void *__t = (a); ntop_safefree((void**)&(__t), (char*)__FILE__, (int)__LINE__); a = __t; } -extern void ntop_safefree(void **ptr, char* file, int line); #define malloc(sz) ntop_safemalloc((unsigned int)sz, (char*)__FILE__, (int)__LINE__) extern void* ntop_safemalloc(unsigned int sz, char* file, int line); #define calloc(c,sz) ntop_safecalloc(c, sz, (char*)__FILE__, (int)__LINE__)
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