#15 Range check error in unit StNTLog

open
nobody
Logging (1)
5
2013-01-15
2003-04-14
Ben Taylor
No

Range check error in unit StNTLog,
TStNTEventLog.elAddEntry,

StrArray[I] :=
StrAlloc(Length(Strings[I]));

should
be:

StrArray[I] :=
StrAlloc(Length(Strings[I])+1);

to provide room for the
null char that the following StrPCopy adds..

Discussion


Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks