On 10/06/2011 06:21 PM, Juan Quintela wrote:
+ result = qemu_peek_byte(f); + + if (f->buf_index< f->buf_size) { + f->buf_index++; }
This should really be an assert that f->buf_index < f->buf_size, otherwise qemu_peek_byte has read garbage.
Paolo
On 10/06/2011 06:21 PM, Juan Quintela wrote:
+ result = qemu_peek_byte(f); + + if (f->buf_index< f->buf_size) { + f->buf_index++; }
This should really be an assert that f->buf_index < f->buf_size, otherwise qemu_peek_byte has read garbage.
Paolo