[Olsr-commit] OLSR.org main repository branch, stable, updated. OLSRD_0_6_3-113-gf4d250a
(spam-protected)
(spam-protected)
Fri Jun 22 13:17:24 CEST 2012
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "OLSR.org main repository".
See http://olsr.org/git/?p=olsrd.git;a=commitdiff;h=OLSRD_0_6_3-113-gf4d250a
for a web version of the last commit.
The branch, stable has been updated
via f4d250ad4fad5fcfe5b5feaac3f3e121adef3fba (commit)
from 8349a11fe2519ab63bdffec4f09b47e1207f4ff4 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit f4d250ad4fad5fcfe5b5feaac3f3e121adef3fba
Author: Jo-Philipp Wich <(spam-protected)>
Date: Fri Jun 22 03:17:59 2012 +0200
olsrd: fix stack corruption in net_output()
The net_output() function indirectly uses the stack variables dst and dst6
outside of the scope they're declared in, this might leads to olsr_sendto()
being called with a corrupted destination sockaddr_in.
This failure condition can be observed in the log, olsrd will continuosly
print "sendto(v4): Invalid Argument" or a similar message. On ARM it has been
reported to result in "Unsupported Address Family".
This bug became apparant on a custon OpenWrt x86_64 uClibc target using the
Linaro GCC 4.7-2012.04 compiler, it has been reported for an unspecified ARM
target as well.
The offending code seems to be unchanged since 2008 and it does not cause
issues on 32bit systems and/or with older (Linaro) GCC versions, but the
compiler used in our tests seems to perform more aggressive optimizations
leading to a stack corruption.
-----------------------------------------------------------------------
Summary of changes:
src/net_olsr.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
hooks/post-receive
--
OLSR.org main repository
More information about the Olsr-commit
mailing list