|
|
|
@ -332,7 +332,7 @@ void *cli_malloc(size_t size) |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if(!size || size > CLI_MAX_ALLOCATION) { |
|
|
|
|
cli_errmsg("cli_malloc(): Attempt to allocate %u bytes. Please report to bugs@clamav.net\n", size); |
|
|
|
|
cli_errmsg("cli_malloc(): Attempt to allocate %u bytes. Please report to http://bugs.clamav.net\n", size); |
|
|
|
|
return NULL; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
@ -356,7 +356,7 @@ void *cli_calloc(size_t nmemb, size_t size) |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if(!size || size > CLI_MAX_ALLOCATION) { |
|
|
|
|
cli_errmsg("cli_calloc(): Attempt to allocate %u bytes. Please report to bugs@clamav.net\n", size); |
|
|
|
|
cli_errmsg("cli_calloc(): Attempt to allocate %u bytes. Please report to http://bugs.clamav.net\n", size); |
|
|
|
|
return NULL; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
@ -380,7 +380,7 @@ void *cli_realloc(void *ptr, size_t size) |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if(!size || size > CLI_MAX_ALLOCATION) { |
|
|
|
|
cli_errmsg("cli_realloc(): Attempt to allocate %u bytes. Please report to bugs@clamav.net\n", size); |
|
|
|
|
cli_errmsg("cli_realloc(): Attempt to allocate %u bytes. Please report to http://bugs.clamav.net\n", size); |
|
|
|
|
return NULL; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|