The handler needs to exit explicitly, otherwise we will continue
execution as usual. (These signals are trappable and as such will
not terminate no matter what.)
Fixes: commit a137c6a853
Change-Id: If0e5ad75170ef53eb4cda18d5b20387699909577
(cherry picked from commit a335d5d972)
We are copying an IPv4 address which is 32-bit, while a MAC address is 6
byte long. Use the proper size in memcpy to avoid an buffer overflow and
an out of bounds variable read.
Change-Id: Iebcee588a5d5a37af6a7ad5caa27edd85804bfc9
Warned-by: gcc
(cherry picked from commit f09fbc237e)
On signals that are expected to terminate the program gracefully, do not
call abort, otherwise we get core dumps for conditions, that while
unexpected are not worth a core dump, such timing out when called with
the timeout program.
Print the signal name instead of number
Change-Id: I740978882288801d71d4d3c4a1bbbde8b70e6a4f
(cherry picked from commit a137c6a853)
- Bump debhelper compatibility version 10.
- Switch from Priority extra to optional.
- Update debian/.gitignore file.
Change-Id: I994e1e29585ca56d834c1b2dfaba27c167345bbd
Separate the required from the options flags, so that they do not get
overriden from debian/rules. Enable -Wextra, and fix the exposed
warnings. Replace deprecated -D_SVID_SOURCE -D_BSD_SOURCE options with
-D_DEFAULT_SOURCE.
Change-Id: Icd895cb8197b4d0c1c83034039b4a2dfde04cea7
- Use canonical homepage URL.
- Bump debhelper compatibility to 9.
- Bump Standards-Version to 3.9.8.
- Wrap and sort debian/control fields.
- Update copyright years and fix holders, the correct holder is
Sipwise GmbH instead of Michael Prokop and Richard Fuchs.
Change-Id: I4f8a32de88b99607d09e179d7f7d8e171d7889b0