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 <[email protected]>           http://laforge.gnumonks.org/
============================================================================
"Privacy in residential applications is a desirable marketing option."
                                                  (ETSI EN 300 175-7 Ch. A6)

Reply via email to