Re: Syslog fixes a bug?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



* Michael Wieher (michael.wieher@xxxxxxxxx) [20080507 23:06]:

> If I use syslog() to attempt to write data and see where it dies, it
> lives and works perfectly.

If you're on a system with glibc, try compiling with -D_FORTIFY_SOURCE=2,
which will give you runtime stack checking which will possibly help you
finding the spot where your code spills a buffer or something like it

Philipp

[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux