osmo_quote_str_c()

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/OpenBSC@lists.osmocom.org/.

Harald Welte laforge at gnumonks.org
Tue May 7 14:55:13 UTC 2019


Hi Neels,

On Fri, Apr 12, 2019 at 03:23:41AM +0200, Neels Hofmeyr wrote:
> I think here is a bug:

ACK.

> Looks like the allocated len should be stored in a local variable to pass to
> osmo_quote_str_buf2().

ACK. See https://gerrit.osmocom.org/#/c/libosmocore/+/13901

> And if I'm right, what is the 32 for? At least 32??

At least 32 bytes to have some minimum buffer size for things like printing
"NULL" or the like.

-- 
- Harald Welte <laforge at gnumonks.org>           http://laforge.gnumonks.org/
============================================================================
"Privacy in residential applications is a desirable marketing option."
                                                  (ETSI EN 300 175-7 Ch. A6)



More information about the OpenBSC mailing list