summaryrefslogtreecommitdiffstats
path: root/src/sim/reader.c
Commit message (Collapse)AuthorAgeFilesLines
* msgb: Check the return value of msgb_alloc (Coverity)Jacob Erlbeck2015-04-101-0/+3
| | | | | | | | | | | In some places, the return value of msgb_alloc/msgb_alloc_headroom is not checked before it is dereferenced. This commit adds NULL checks to return with -ENOMEM from the calling functions if the alloc function has failed. Fixes: Coverity CID 1249692, 1293376 Sponsored-by: On-Waves ehf
* sim: Prepare infrastructure for protocols != T=0 and other driversHarald Welte2014-10-261-14/+34
|
* sim: further updates/fixesHarald Welte2014-10-261-2/+3
|
* sim: renamed case to the one defined in ISO7816-3Kevin Redon2014-10-261-12/+12
| | | | | | | | | APDU_CASE_2 becomes APDU_CASE_2S APDU_CASE_2_EXT becmoes APDU_CASE_2E APDU_CASE_3 becomes APDU_CASE_3S APDU_CASE_3_EXT becmoes APDU_CASE_3E APDU_CASE_4 becomes APDU_CASE_4S APDU_CASE_4_EXT becmoes APDU_CASE_4E
* sim: strip the SW from the returned data, as SW is passed in msgb->cbHarald Welte2014-10-261-2/+5
|
* sim: add copyright notices and merge file_codec.c into core.cHarald Welte2014-10-261-0/+23
|
* initial checkin of 'libosmosim'Harald Welte2014-10-261-0/+224