Actions
Bug #24
closedFixing the name table handling in DevLinker
Start date:
01/15/2015
Due date:
% Done:
100%
Estimated time:
Forum topic:
Description
DevLinker.LinkDll causes a name table overflow (TRAP in DevLinker.Insert)
when the average of the involved name lengths is more than about 20.
This is caused by a fixed size of the name table that is appropriate
only when the names are shorter on average.
Reported by Rainer Neubauer, 2008-02-18
In addition, testing for the need to append the ".dll" suffix in DevLinker.Insert causes a TRAP
when the name table is filled with less than 4 characters.
Reported by Boris Ilov, 2013-08-26.
In addition, the CP compiler accepts longer names than DevLinker does.
This is caused by declaring Name as an ARRAY 40 OF SHORTCHAR in DevLinker instead of 256.
Reported by Josef Templ, 2015-01-15.
Refers to CPC 1.7 change list number 6.
Actions