commit | 580edbc326268f0c3f4d0cbffeac963d06ffe8ac | [log] [tgz] |
---|---|---|
author | Jacob Erlbeck <jerlbeck@sysmocom.de> | Mon Dec 28 14:10:14 2015 +0100 |
committer | Jacob Erlbeck <jerlbeck@sysmocom.de> | Mon Feb 01 13:58:13 2016 +0100 |
tree | b534913817005f642201b9d3826299b226fcd556 | |
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