libosmocore[master]: Fix potential segfault in msg_dequeue

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
Sat Jun 25 07:38:11 UTC 2016


Patch Set 2:

I am not convinced (and maybe revert).

* lh->next and lh->prev should be LLIST_POISONX or point to itself
* If INIT_LLIST_HEAD was forgotten we have other issues.

Right now I don't see how ->next can be NULL here.

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

Gerrit-MessageType: comment
Gerrit-Change-Id: I06e9c5ba3e00c73a4e52d2583ce3492f236275ce
Gerrit-PatchSet: 2
Gerrit-Project: libosmocore
Gerrit-Branch: master
Gerrit-Owner: Max <msuraev at sysmocom.de>
Gerrit-Reviewer: Harald Welte <laforge at gnumonks.org>
Gerrit-Reviewer: Holger Freyther <holger at freyther.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-HasComments: No



More information about the gerrit-log mailing list