Ticket #4696 (closed defect: invalid)
VSIWin32Handle::bEOF is uninitialized
|Reported by:||mkulvietis||Owned by:||warmerdam|
In file port\cpl_vsil_win32.cpp, class VSIWin32Handle, member bEOF is only initialized in Seek function. I encountered this problem when opening .kml file which doesn't use seek functionality and bEOF member was accessed giving out random value.
I suggest to add a default constructor which initializes the value this solves the issue.