commit | 08c8e1c5622a91520d949b47c47650518d483acb | [log] [tgz] |
---|---|---|
author | Harald Welte <laforge@osmocom.org> | Wed Sep 02 20:02:45 2020 +0200 |
committer | Harald Welte <laforge@osmocom.org> | Wed Sep 02 20:09:34 2020 +0200 |
tree | dfb095e6b900017e70211e90fa27403d2725ea7e | |
parent | 498e9e701e3386f85bb5f61cb4cfa51d83ef0c78 [diff] |
iso7816_fsm: Fix APDU case with P3=0 If P3=0 and we only receive a status word directly, we were returning a very long mostly zero-initialized buffer instead of the status word. Reason: We used msgb_put() instaed of msgb_put_u8(), so the SW1 determined the size of the message. Change-Id: I01e688db020b3b8a8735d615e653cc816caa7a13 Closes: OS#4744