commit | c0c6d70fe9d4122e6142b0a9785a44a7f3d0cf0d | [log] [tgz] |
---|---|---|
author | Vadim Yanitskiy <axilirator@gmail.com> | Fri Mar 09 05:08:23 2018 +0700 |
committer | Harald Welte <laforge@gnumonks.org> | Wed Mar 14 21:12:32 2018 +0000 |
tree | a38fe1c95e45411f5221150ea6393b3ce2125bfa | |
parent | 8c6c5d2bcd3f37e132b73a12e6a83cf07e15260f [diff] |
Transceiver.cpp: prevent out-of-range array access There was no a simple range check for both (NO)HANDOVER commands, so an out-of-range access was possible. For example, a command: CMD HANDOVER 0 -3 might enable EDGE at run-time, because: a[i] == *(a + i) Let's fix this. Change-Id: I24a5f70e8e8097f218d7cbdef8cb10df2c35416f