updated leak_detective whitelist: libxml and clearsilver functions
This commit is contained in:
@@ -212,8 +212,10 @@ static void log_stack_frames(void **stack_frames, int stack_frame_count)
|
|||||||
* otherwise on leak report.
|
* otherwise on leak report.
|
||||||
*/
|
*/
|
||||||
char *whitelist[] = {
|
char *whitelist[] = {
|
||||||
|
/* pthread stuff */
|
||||||
"pthread_create",
|
"pthread_create",
|
||||||
"pthread_setspecific",
|
"pthread_setspecific",
|
||||||
|
/* glibc functions */
|
||||||
"mktime",
|
"mktime",
|
||||||
"tzset",
|
"tzset",
|
||||||
"inet_ntoa",
|
"inet_ntoa",
|
||||||
@@ -224,13 +226,22 @@ char *whitelist[] = {
|
|||||||
"register_printf_function",
|
"register_printf_function",
|
||||||
"syslog",
|
"syslog",
|
||||||
"vsyslog",
|
"vsyslog",
|
||||||
"dlopen",
|
|
||||||
"getaddrinfo",
|
"getaddrinfo",
|
||||||
"setlocale",
|
"setlocale",
|
||||||
|
/* ignore dlopen, as we do not dlclose to get proper leak reports */
|
||||||
|
"dlopen",
|
||||||
|
/* mysql functions */
|
||||||
"mysql_init_character_set",
|
"mysql_init_character_set",
|
||||||
"init_client_errs",
|
"init_client_errs",
|
||||||
"my_thread_init",
|
"my_thread_init",
|
||||||
|
/* fastcgi library */
|
||||||
"FCGX_Init",
|
"FCGX_Init",
|
||||||
|
/* libxml */
|
||||||
|
"xmlInitCharEncodingHandlers",
|
||||||
|
"xmlInitParser",
|
||||||
|
"xmlInitParserCtxt",
|
||||||
|
/* ClearSilver */
|
||||||
|
"nerr_init",
|
||||||
};
|
};
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
Reference in New Issue
Block a user