PDA

View Full Version : Fifo header not initialised properly



jarno
04-11-2005, 03:35 PM
The _mlDIFifoOpen() function in mlfifo.c is supposed to initialise an MLfifo structure. However, it does not zero the flags field before manipulating it. End result is assertion failures are random times due to the flags field containing garbage.

Easy fix is to add
before the ML_FIFO_SET_OPEN() call.

---JvdL---

[ April 11, 2005: Message edited by: Jarno van der Linden ]