diff options
author | Neels Hofmeyr <neels@hofmeyr.de> | 2019-04-01 14:34:37 +0200 |
---|---|---|
committer | Neels Hofmeyr <neels@hofmeyr.de> | 2019-05-03 16:15:24 +0200 |
commit | 8212fc6a7d9cfd6c5e71f522863c3e3420262360 (patch) | |
tree | 835e2f767fcfb939626f7951a599e7d9ac2427ec /include/osmocom/gsm/protocol | |
parent | f7e9c51bdc61713c39a26f28a469173f225f4711 (diff) |
add gsm48_decode_bcd_number2() from osmo-msc
gsm48_decode_bcd_number() is unable to provide proper bounds validation of
input and output data, hence osmo-msc's vlr.c introduced a static
decode_bcd_number_safe() a long time ago. Move to libosmocore.
I need to use the same function to decode an MSISDN during inter-MSC Handover,
instead of making it public in osmo-msc, rather deprecate the unsafe function
and provide a safer version for all callers. Mark the old one deprecated.
Change-Id: Idb6ae6e2f3bea11ad420dae14d021ac36d99e921
Diffstat (limited to 'include/osmocom/gsm/protocol')
0 files changed, 0 insertions, 0 deletions