commit | 881064e9b81de4aee7a9cdd52184860260f8723c | [log] [tgz] |
---|---|---|
author | Max <msuraev@sysmocom.de> | Wed Dec 14 14:51:40 2016 +0100 |
committer | Harald Welte <laforge@gnumonks.org> | Mon Jan 23 12:32:00 2017 +0000 |
tree | 8c6655af403554274bd7a0486e888deda6329303 | |
parent | 47e178190744e65079a821f40148eebcaa92bf76 [diff] |
Prevent segfault in range encoding * Explicitly check when ARFCN array split is impossible and return gracefully instead of using negative index. * Separate range encoding into generic function and use it for all SI-related things. * Propagate the error into that function and to its callers. * Add separate test-case for the segfault previously triggered by this bug. Change-Id: I3e049ab2d7c1c4d6c791b148f37e10636a8e43e0 Related: RT#7379