Ticket #4696 (closed defect: invalid)
VSIWin32Handle::bEOF is uninitialized
| Reported by: | mkulvietis | Owned by: | warmerdam |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | default | Version: | 1.9.0 |
| Severity: | normal | Keywords: | |
| Cc: |
Description
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.
Change History
Note: See
TracTickets for help on using
tickets.
