Changes between Initial Version and Version 1 of Ticket #11954, comment 3
- Timestamp:
- Nov 27, 2020, 1:08:12 PM (3 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #11954, comment 3
initial v1 12 12 In your example, it will read the string "/qtw/myst/vlt1watr" into videoFile. 13 13 14 Before the str-common.cpp change, _videoFile.size() was 19 because it apparently counts the string terminator. It would therefore skip the next byte of the stream.14 Before the base-str.cpp change, _videoFile.size() was 19 because it apparently counts the string terminator. It would therefore skip the next byte of the stream. 15 15 16 16 After the change, _videoFile.size() is 18 because the terminator isn't included in the count. It won't skip anything, and everything it reads from the stream after that will be just garbage.