Commit cfdd3349 authored by Jeff Latimer's avatar Jeff Latimer Committed by Alexandre Julliard

winemp3.acm: Ensure null check before dereference.

parent d7697bd5
......@@ -122,10 +122,6 @@ static int read_buf_byte(struct mpstr *mp)
while(pos >= mp->tail->size) {
remove_buf(mp);
pos = mp->tail->pos;
if(!mp->tail) {
fprintf(stderr,"Fatal error!\n");
exit(1);
}
}
b = mp->tail->pnt[pos];
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment