diff options
author | Will Glynn <will@willglynn.com> | 2013-09-13 01:28:31 +0000 |
---|---|---|
committer | Steve Markgraf <steve@steve-m.de> | 2013-09-13 18:55:55 +0200 |
commit | 4914b5d4314b7523a13ed00ea4ac82a4b992ea9f (patch) | |
tree | 3da709454515b8350b5ab25e58b99f304606b7ba /rtl-sdr.rules | |
parent | c4fcfbb46e0a432902a2b78db4951bd20f68b9b2 (diff) |
rtl_adsb: Fix invalid memory access
single_manchester() considers both i and i+1, but the loop only
tests that i is in bounds. This causes undefined behavior, including
but not limited to a SIGBUS-related crash on Mac OS X.
(And also, we should not enter an infinite loop, caused by applying
an patch I sent that didn't also change the while condition.)
Signed-off-by: Steve Markgraf <steve@steve-m.de>
Diffstat (limited to 'rtl-sdr.rules')
0 files changed, 0 insertions, 0 deletions