mirror of https://gerrit.osmocom.org/libosmocore
Oliver Smith
c66b35b616
Instead of running into OSMO_ASSERT in msgb_put(), return early if the msgb is too small. As suggested by Pau in [1]. I would have returned -EMSGSIZE, but the function returns uint8_t. [1]: https://gerrit.osmocom.org/c/osmo-bsc-nat/+/28582/2#message-a183c463ea20a8d958465ce45a83e62c46214cf6 Change-Id: I632986b99d841abff0f14c6da65f030175f5c4a1 |
||
---|---|---|
.. | ||
gsm0808_test.c | ||
gsm0808_test.ok |