[PATCH] bssgp: Fix call to llist_entry in fc_queue_timer_cfg

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

Jacob Erlbeck jerlbeck at sysmocom.de
Thu Apr 30 18:33:14 UTC 2015


On 30.04.2015 20:01, Holger Freyther wrote:
> 
>> On 30 Apr 2015, at 19:28, Jacob Erlbeck <jerlbeck at sysmocom.de> wrote:
>> This is due to an '&' operator at the wrong place, accessing some
>> parts in fc instead of the first element of the list.
> 
> ouch. it appears that this is the only occurrence of this issue. How long did
> it take for you to find it? Did ASAN help?
> 
No, since the data seems to be taken from then fc struct, so the memory
area is valid. ASAN was enabled and didn't complain.

Logging helped instead, since the logging messages suggested, that the
timer interval computation might have been broken.

Jacob


-- 
- Jacob Erlbeck <jerlbeck at sysmocom.de>       http://www.sysmocom.de/
=======================================================================
* sysmocom - systems for mobile communications GmbH
* Alt-Moabit 93
* 10559 Berlin, Germany
* Sitz / Registered office: Berlin, HRB 134158 B
* Geschaeftsfuehrer / Managing Directors: Holger Freyther, Harald Welte



More information about the OpenBSC mailing list