diff options
author | Vadim Yanitskiy <axilirator@gmail.com> | 2018-03-09 05:08:23 +0700 |
---|---|---|
committer | Harald Welte <laforge@gnumonks.org> | 2018-03-14 21:12:32 +0000 |
commit | c0c6d70fe9d4122e6142b0a9785a44a7f3d0cf0d (patch) | |
tree | a38fe1c95e45411f5221150ea6393b3ce2125bfa /contrib | |
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
Diffstat (limited to 'contrib')
0 files changed, 0 insertions, 0 deletions