Google
  Web www.spinics.net

Re: Ubuntu 8.04 / 8.10

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


Ray Wells wrote:
Peter,

This problem arose with fbb around kernel 2.6.20 (can't remember just which one now)

The fix I apply is to compile fbb with -fno-stack-protection added to its Makefile. I don't have a fix if you install fbb from a deb package.

It seems that stack protection was included in kernels as a security plug for stack overflow.

I sent quite a bit about this to the xfbb list around 18 months ago.

The real question (to me at least) is whether the stack-smash abort
is a false alarm, or whether it indicates a real problem in the
FBB software.

If there really is a way in which the FBB software is managing to
smash its own stack (via e.g. a buffer that's too small, indexing
out of bounds, etc.), then simply disabling the stack protection
feature via recompilation is a bit like replacing a blown fuse
with a larger one.  You may get away with it, or it may burn your
house down :-(

It'd probably be necessary to compile xfbb with -g and run it
under GDB or a similar debugger, and investigate the state of the
stack at the time of the abort, to figure out what's being
over-written.
--
To unsubscribe from this list: send the line "unsubscribe linux-hams" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Site Home]     [Linux Newbie]     [Kernel Newbies]     [Memory]     [Git]     [Security]     [Netfilter]     [Linux Admin]     [Bugtraq]     [Rubini]     [Photo]     [Yosemite]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [ARM Linux Kernel]     [Linux Networking]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Linux Resources]


Add to Google Powered by Linux