]> git.ipfire.org Git - thirdparty/glibc.git/blame - elf/tst-audit9.c
Fix bad pointer / leak in regex code
[thirdparty/glibc.git] / elf / tst-audit9.c
CommitLineData
d0503676
CD
1#include <dlfcn.h>
2
e505234f
AS
3static int
4do_test (void)
d0503676
CD
5{
6 void *h = dlopen("$ORIGIN/tst-auditmod9b.so", RTLD_LAZY);
7 int (*fp)(void) = dlsym(h, "f");
8 return fp() - 1;
9}
e505234f 10
36fe25fd 11#include <support/test-driver.c>