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.orgOn Thu, Apr 14, 2016 at 04:57:11PM +0200, Neels Hofmeyr wrote:
> All callers of OCTET_STRING_noalloc() pass a non-const pointer, except
> that one above. I just want to unconst that single caller.
I think the other callers should be fixed, rather than aligning the one
correct part of the code.
As indicated, I believe we shouldn't let bad impleentation or API design
by asn1c contaminate our code. A pointer to input data into an encoding
function should be const.
--
- 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)