OpenSolaris

Printable Version Enter a New Search
Bug ID 6231515
Synopsis Bug fix of Additional overflows in XPM code causes regression
State 10-Fix Delivered (Fix available in build)
Category:Subcategory xserver:client_libs
Keywords testcase
Responsible Engineer Alan Coopersmith
Reported Against
Duplicate Of
Introduced In solaris_10
Commit to Fix snv_12
Fixed In snv_12
Release Fixed solaris_nevada(snv_12) , solaris_9(s9_patch) (Bug ID:2125034) solaris_10u1(s10u1_06) (Bug ID:2125035,)
Related Bugs 6241455 , 6196754 , 6196758 , 6204339
Submit Date 22-February-2005
Last Update Date 16-January-2007
Description
After migrating to use /usr/openwin/lib/libXpm.so.4, an error message will popup at dtlogin GUI and the  xxxxx  logo image will not be displayed on the screen.
This problem should be introduced by the fix of *Additional overflows in XPM code*. This regression has been fixed in libXm.so.4 private copy of Xpm. 
1. Close all the unused fd in child process in s_popen.c.
2. Use strtok_r instead of strtok in s_popen.c.
3. Use execve to execute compress/gunzip/gzip in s_popen.c.
4. Use full path of compress/gunzip/gzip instead of their basename in XpmRdFToI.c and XpmWrFFrI.c. 
5. Use sprintf(buf, "compress > %s", filename) instead of sprintf(buf, "compress > \"%s\""
qiu- xxxxx@xxxxx.com 2005-2-22 02:55:16 GMT
Work Around
N/A
Comments
N/A