rafael.espindola wrote: > [...] > extern char *p; > [...] > char a = p[0]; > [...] > compile and link with > gcc -shared -fPIC a.c -o liba.so > gcc -fmudflap -lmudflap b.c -la -L. -o b
Did the compiler give you a warning about inability to track the lifetime of "p"? It should have. - FChE