Bug #109

Bounds checking in Kernel.MakeFileName

Added by R. Campbell almost 4 years ago. Updated over 3 years ago.

Status:ClosedStart date:03/12/2016
Priority:NormalDue date:
Assignee:R. Campbell% Done:

100%

Category:-
Target version:1.7
Forum topic:

Description

The arrays bounds checking logic assumes that the file type is 3 characters long. This can lead to unnecessarily rejecting supplied types, and can cause a run-time index-out-of-range trap.

Associated revisions

Revision 27ac8c6b
Added by J. Templ over 3 years ago

bug fix in bounds checking of Kernel.MakeFileName. Refs: #109.
as proposed by Robert.

Signed-off-by: Josef Templ <>

Revision 36d48f69
Added by J. Templ over 3 years ago

variable extLen removed from Kernel.MakeFileName. Refs: #109.
as proposed by Robert.

Signed-off-by: Josef Templ <>

History

#1 Updated by R. Campbell almost 4 years ago

  • % Done changed from 0 to 20

#2 Updated by I. Denisov over 3 years ago

  • % Done changed from 20 to 100
  • Status changed from New to Closed

Also available in: Atom PDF