[PATCH] Add SIGSEGV processing to send terminating message

Jouni Malinen j at w1.fi
Sat Feb 13 13:45:14 EST 2010


On Mon, Feb 08, 2010 at 11:34:31AM -0800, Dmitry Shmidt wrote:

> In case of segmentation fault it makes sense at least to try to send
> terminating message to network manager.

In case of segmentation fault it makes sense to fix the bug.. If you are
really seeing segmentation faults frequently enough to need this,
something is seriously wrong and needs to be fixed. In case of SIGSEGV,
it would also not be clear what has happened and additional writes to a
socket that may have been corrupted does not sound that good of an idea.
Furthermore, this would break WPA_TRACE debug code.

I don't think this change is needed and I would much rather hear more
details about the segmentation faults so that the real issues can be
fixed rather than worked around.

-- 
Jouni Malinen                                            PGP id EFC895FA


More information about the HostAP mailing list