diff options
author | Neels Hofmeyr <neels@hofmeyr.de> | 2019-04-30 02:35:47 +0200 |
---|---|---|
committer | Harald Welte <laforge@gnumonks.org> | 2019-05-05 16:23:41 +0000 |
commit | b3868e14103090ae7d1abb9b84ec217623d8d07a (patch) | |
tree | 9bc02d5239296af5b7e7209a50f14f9ae3e74b25 /contrib | |
parent | 73c6682f5398eb3457d092b8b5f8ad20a3f5b493 (diff) |
gsm48_decode_bcd_number2(): fix input len check
The input_len argument for gsm48_decode_bcd_number2() includes the BCD length
*and* the length byte itself, so add the missing +1.
Also clarify the API doc for the input_len argument.
Change-Id: I87599641325c04aae2be224ec350b1a145039528
Diffstat (limited to 'contrib')
0 files changed, 0 insertions, 0 deletions