Change in libosmocore[master]: msgb_alloc_headroom: Change size args to be uint16_t

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/.

pespin gerrit-no-reply at lists.osmocom.org
Thu Jun 10 12:54:00 UTC 2021


pespin has uploaded a new patch set (#2). ( https://gerrit.osmocom.org/c/libosmocore/+/24641 )

Change subject: msgb_alloc_headroom: Change size args to be uint16_t
......................................................................

msgb_alloc_headroom: Change size args to be uint16_t

Underlaying APIs (msgb_alloc) use a uint16_t as a type, which means
until now passing a value > 2^16 would succeed providing a msgb with
less space than requested.

Since those are static inline, there's no symbols used by apps, so we
should be safe enough changing the type to be uint16_t, since change
would only be applied at re-compile time.

Change-Id: I83c8222484e4856c68134a1a9d8cf96eb91af1b8
---
M include/osmocom/core/msgb.h
1 file changed, 2 insertions(+), 2 deletions(-)


  git pull ssh://gerrit.osmocom.org:29418/libosmocore refs/changes/41/24641/2
-- 
To view, visit https://gerrit.osmocom.org/c/libosmocore/+/24641
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings

Gerrit-Project: libosmocore
Gerrit-Branch: master
Gerrit-Change-Id: I83c8222484e4856c68134a1a9d8cf96eb91af1b8
Gerrit-Change-Number: 24641
Gerrit-PatchSet: 2
Gerrit-Owner: pespin <pespin at sysmocom.de>
Gerrit-CC: Jenkins Builder
Gerrit-MessageType: newpatchset
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20210610/86668033/attachment.htm>


More information about the gerrit-log mailing list