summaryrefslogtreecommitdiffstats
path: root/tests/sercomm/sercomm_test.c
diff options
context:
space:
mode:
authorNeels Hofmeyr <neels@hofmeyr.de>2018-12-05 23:30:08 +0100
committerHarald Welte <laforge@gnumonks.org>2018-12-10 17:06:30 +0000
commitea2a0ab041524bb651d488ea1eddda0cc3d9e895 (patch)
treed87ebc15dd7a4dbb267e0c7487077b1b231bace4 /tests/sercomm/sercomm_test.c
parent23187fa108f094b2ed9d497380b63235592477b2 (diff)
gsm48_mi_to_string(): guard against zero length output buffer
All successful cases already return from the switch(), so simply handle all errors below it by returning an empty string (if there is enough string buffer). Change-Id: I709ac3b9efb7b4258d8660715b10312e11b9b571
Diffstat (limited to 'tests/sercomm/sercomm_test.c')
0 files changed, 0 insertions, 0 deletions