https://bugzilla.novell.com/show_bug.cgi?id=223718 ------- Comment #26 from mhopf@novell.com 2006-11-28 05:44 MST ------- Nice finding, guys! I conclude with your analysis. Actually, I find the whole code pretty fragile (e.g. it relies on OsTimerRec.next to be the first struct entry, which is not documented), and I cannot see trivially, that a similar issue isn't lurking somewhere else in the code. The else part isn't necessary, wt is set to NULL immedeately before the if (timers). (In reply to comment #23)
If I read this correctly: If there is one single timer in the list 'timers', DoTimer will be called. DoTimer will set 'timers' to NULL, eventually? Who knows what timer->next contains?
If only a single timer is in the list, timer->next should be 0. prev is &timers, bingo. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.