Re: [Xen-devel] [PATCH v2 03/13] fuzz/x86_emulate: Clear errors after each iteration

2017-10-04 Thread Jan Beulich
>>> On 25.09.17 at 16:26, wrote: > Once feof() returns true for a stream, it will continue to return true > for that stream until clearerr() is called (or the stream is closed > and re-opened). > > In llvm-clang-fast-mode, the same file descriptor is used for each > iteration of the loop, meaning

[Xen-devel] [PATCH v2 03/13] fuzz/x86_emulate: Clear errors after each iteration

2017-09-25 Thread George Dunlap
Once feof() returns true for a stream, it will continue to return true for that stream until clearerr() is called (or the stream is closed and re-opened). In llvm-clang-fast-mode, the same file descriptor is used for each iteration of the loop, meaning that the "Input too large" check was broken -