libosmocore[master]: gprs: Increase NS_ALLOC_SIZE to 3k

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

Holger Freyther gerrit-no-reply at lists.osmocom.org
Wed Sep 14 10:48:55 UTC 2016


Patch Set 1:

This will be of limited help:

        ret = recvfrom(bfd->fd, msg->data, NS_ALLOC_SIZE - NS_ALLOC_HEADROOM, 0,
                        (struct sockaddr *)saddr, &saddr_len);

so you increase the buffer and an "attacker" can increase his UDP message (ip fragmentation, etc).

-- 
To view, visit https://gerrit.osmocom.org/806
To unsubscribe, visit https://gerrit.osmocom.org/settings

Gerrit-MessageType: comment
Gerrit-Change-Id: I6f76751cfadf61e87ce4367a38907083e1c98562
Gerrit-PatchSet: 1
Gerrit-Project: libosmocore
Gerrit-Branch: master
Gerrit-Owner: daniel <dwillmann at sysmocom.de>
Gerrit-Reviewer: Holger Freyther <holger at freyther.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-HasComments: No



More information about the gerrit-log mailing list