]> git.ipfire.org Git - thirdparty/glibc.git/blame - elf/testobj6.c
Fix bad pointer / leak in regex code
[thirdparty/glibc.git] / elf / testobj6.c
CommitLineData
0572433b
AM
1#include <stdio.h>
2
1a511d31 3#include "testobj.h"
fe60f764 4
3d91edb2
UD
5int
6obj6func1 (int a __attribute__ ((unused)))
7{
8 return 77;
9}
10
11int
12obj6func2 (int a)
13{
14 return foo (a) + 46;
15}
16
17int
18preload (int a)
19{
0572433b 20 printf ("testobj6 preload\n");
3d91edb2
UD
21 return a;
22}