Opened 8 years ago

Last modified 8 years ago

#6399 closed defect

VICARKeywordHandler::Ingest() broken for End Of file Labels after 2.0.2 update — at Version 1

Reported by: swalter75 Owned by: warmerdam
Priority: normal Milestone: 2.0.3
Component: default Version: 2.0.2
Severity: normal Keywords: vicar
Cc:

Description (last modified by swalter75)

There were potential buffer overflows in pre-2.0 versions of gdal, which have been corrected in [32027] and later changesets. The correction was to truncate the amount of bytes read to that of the buffer. This resulted in non-functional (but secure) code.

Here we introduce another buffer variable with the correct size to read the full EOL label.

There are also other minor corrections in the patch, as well as a new label entry to let the user know that the driver is handling the #5941 bug correctly.

Change History (2)

by swalter75, 8 years ago

Attachment: vicarfmt-6399.patch added

comment:1 by swalter75, 8 years ago

Description: modified (diff)
Note: See TracTickets for help on using tickets.