mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-14 09:29:26 +02:00
Merged revision(s) 29037 from branches/svenbarth/packages:
Fix a potential access violation when exporting symbols on a Unix based system. expunix.pas, texportlibunix: * generatelib: check whether hp2.sym is really assigned before accessing it ........ git-svn-id: trunk@32983 -
This commit is contained in:
parent
557f74cdbd
commit
0aca2357ac
@ -142,6 +142,7 @@ begin
|
|||||||
while assigned(hp2) do
|
while assigned(hp2) do
|
||||||
begin
|
begin
|
||||||
if (not hp2.is_var) and
|
if (not hp2.is_var) and
|
||||||
|
assigned(hp2.sym) and
|
||||||
(hp2.sym.typ=procsym) then
|
(hp2.sym.typ=procsym) then
|
||||||
begin
|
begin
|
||||||
{ the manglednames can already be the same when the procedure
|
{ the manglednames can already be the same when the procedure
|
||||||
|
Loading…
Reference in New Issue
Block a user