ioports.c change -> buffer overflow ... bug?
Marcus Meissner
marcus at jet.franken.de
Mon Feb 9 01:21:35 CST 2009
Hi Florian,
You are calling get_timer_val(3) in ioports.c
(if (chan == 3) ... going down to get_timer_val(chan))
Howver, tmr_8253 is just a 3 element array, so [3] will run over the end,
Is your code right? The change comes from this commit:
commit edbd4885542e4545439906df950a68dc48e70839
Author: Florian Tobias Schandinat <FlorianSchandinat at gmx.de>
Date: Tue Feb 3 18:26:04 2009 +0100
winedos: Improve PIT emulation.
Ciao, Marcus
More information about the wine-devel
mailing list