commit | 85b8364d0589d4dec1b176be86fbe6ac29286364 | [log] [tgz] |
---|---|---|
author | Neels Hofmeyr <nhofmeyr@sysmocom.de> | Mon May 09 21:38:51 2016 +0200 |
committer | Neels Hofmeyr <nhofmeyr@sysmocom.de> | Sun Sep 18 23:40:06 2016 +0200 |
tree | 722e3b14ecdad5ca8c4739a696ebd343c795abeb | |
parent | b1b025d0991ac2d3efe6c6b442c932cfce162292 [diff] |
Sanity fixes for gsm0408_dispatch(): rc, assertions gsm0408_dispatch() is the main entry point for receiving data from the BSC/RNC level, so make sure callers pass valid pointers before using them all the way down the code path (related to CID#93769, a fix before this was refactored). For unknown/unimplemented packet discriminators, make sure to return error codes. Change-Id: Ieec39c74a53ef4dfa971dd935c8c9aa60fef58c1