diff options
author | Max <msuraev@sysmocom.de> | 2016-11-07 14:49:13 +0100 |
---|---|---|
committer | Max <msuraev@sysmocom.de> | 2016-11-07 15:19:47 +0100 |
commit | e9e5f8e4e9aa3fdce06d144381d9621552476387 (patch) | |
tree | f1a11ee01ca8c3c7c7a58102f88edc051fc20c6d /tests/comp128 | |
parent | 8b25a3f5c38a9297f9213cb6e70b7599ba999fbe (diff) |
Add null-pointer check to osmo_amr_rtp_dec()
Check that RTP payload we're about to decode is not NULL and return
proper error code instead of segfaulting. Add corresponding test case.
Change-Id: Ib6cda9900a41ed16bbfbde9df3de9d38e0a7469b
Diffstat (limited to 'tests/comp128')
0 files changed, 0 insertions, 0 deletions