whitelisting static Curl_getaddrinfo() memory leak

This commit is contained in:
Andreas Steffen
2007-03-09 16:07:22 +00:00
parent 5455cf230f
commit bb225522c7
+6
View File
@@ -175,6 +175,10 @@ struct whitelist_t {
size_t range_size; size_t range_size;
}; };
#ifdef LIBCURL
void *Curl_getaddrinfo(void);
#endif
whitelist_t whitelist[] = { whitelist_t whitelist[] = {
{pthread_create, 2542}, {pthread_create, 2542},
{pthread_setspecific, 217}, {pthread_setspecific, 217},
@@ -187,6 +191,8 @@ whitelist_t whitelist[] = {
{register_printf_function, 159}, {register_printf_function, 159},
{syslog, 45}, {syslog, 45},
{dlopen, 109}, {dlopen, 109},
/* from /usr/lib/libcurl.so.3 */
{Curl_getaddrinfo, 480},
}; };
/** /**