From: Alexander Lechner (alexander.lechner++at++vertigo-systems.de)
Date: 08/21/2003 04:16:40
Hi all!
Although I already reported the bug some time ago, in the latest Performer
versions the bug is still there.
Affected OS: Linux (maybe more)
Distro: all
Compiler: gcc2 and gcc3
Sympton: If you have a very long LD_LIBRARY_PATH Performer crashes in
_pfdFindConverterDSO in pfdLoadFile.c
Reason: In line 514 a "newPath" is allocated, but not with enough memory for
the following sprintf. In the last "#else /* is O32 */ clause the variable
"libraryPath" is sprintfed twice, but allocated is memory for only one.
See line 550.
A solution is to allocate "2*strlen(libraryPath)" in line 514.
It would be great if this (slightly annoying) bug could be fix for the next
version. Otherwise we always have to recompile libpfdu and cannot use an
"off-the-shelve version."
Thanks in advance!
Alex
-- Alexander.Lechner ++at++ vertigo-systems.de Engelbertstraße 30 | phone: +49-221-2405472 D-50674 Köln | fax: +49-221-34892616
This archive was generated by hypermail 2b29 : Thu Aug 21 2003 - 11:10:42 PDT