Minor headaches using pkgsrc daemons (samba)

Joerg Sonnenberger joerg at britannica.bec.de
Tue Jul 12 12:00:57 PDT 2005


On Tue, Jul 12, 2005 at 07:49:10PM +0200, Simon 'corecode' Schubert wrote:
> okay, it seems that gcc with -fstack-protector (default) and -O2 places
> the variables wrongly on the stack. I can give more insight if desired.
> Basically listen_set is at -72(%ebp), whereas the canary is already at
> -40(%ebp). sizeoF(fd_set) == 128, so figure :)

OK, testcase is http://leaf.dragonflybsd.org/~joerg/testcase.c

Joerg





More information about the Bugs mailing list