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/gerrit-log@lists.osmocom.org/.
Harald Welte gerrit-no-reply at lists.osmocom.orgReview at https://gerrit.osmocom.org/4286 [doc] Doxygen documentation on osmo_hexdump print buffer size Change-Id: I83ca2a3a555e5b3c1b7f23bf9e463a5063a8006c --- M src/utils.c 1 file changed, 6 insertions(+), 0 deletions(-) git pull ssh://gerrit.osmocom.org:29418/libosmocore refs/changes/86/4286/1 diff --git a/src/utils.c b/src/utils.c index b4345c7..534916b 100644 --- a/src/utils.c +++ b/src/utils.c @@ -235,6 +235,9 @@ * * This function will print a sequence of bytes as hexadecimal numbers, * adding one space character between each byte (e.g. "1a ef d9") + * + * The maximum size of the output buffer is 4096 bytes, i.e. the maximum + * number of input bytes that can be printed in one call is 1365! */ char *osmo_hexdump(const unsigned char *buf, int len) { @@ -248,6 +251,9 @@ * * This function will print a sequence of bytes as hexadecimal numbers, * without any space character between each byte (e.g. "1aefd9") + * + * The maximum size of the output buffer is 4096 bytes, i.e. the maximum + * number of input bytes that can be printed in one call is 2048! */ char *osmo_hexdump_nospc(const unsigned char *buf, int len) { -- To view, visit https://gerrit.osmocom.org/4286 To unsubscribe, visit https://gerrit.osmocom.org/settings Gerrit-MessageType: newchange Gerrit-Change-Id: I83ca2a3a555e5b3c1b7f23bf9e463a5063a8006c Gerrit-PatchSet: 1 Gerrit-Project: libosmocore Gerrit-Branch: master Gerrit-Owner: Harald Welte <laforge at gnumonks.org>