diff options
author | Jacob Erlbeck <jerlbeck@sysmocom.de> | 2015-12-28 14:10:14 +0100 |
---|---|---|
committer | Jacob Erlbeck <jerlbeck@sysmocom.de> | 2016-02-01 13:58:13 +0100 |
commit | 580edbc326268f0c3f4d0cbffeac963d06ffe8ac (patch) | |
tree | b534913817005f642201b9d3826299b226fcd556 /src/bts.h | |
parent | 8e323b39f99b7dd1be6ecd335c0620546ca0bfd8 (diff) |
sched: Assert that the generated message is not empty
Currently the msg data is accessed and index 0 assuming the msg is
not empty. While this should be always the case, the msg can be
empty if there are software errors in the message creation functions.
This commit adds an assertion to catch this kind of bugs.
Sponsored-by: On-Waves ehf
Diffstat (limited to 'src/bts.h')
0 files changed, 0 insertions, 0 deletions