Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37882155
en ru br
ALT Linux repos
S:2.3.8-alt1
5.0: 2.2.3-alt3.2
4.1: 2.2.3-alt3.1
4.0: 2.2.3-alt3.1
3.0: 2.2.3-alt2

Group :: System/Libraries
RPM: openmotif

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

Patch: openmotif-2.2.3-CAN-2004-0914_sec8.patch
Download


--- openMotif-2.2.3/lib/Xm/XpmWrFFrI.c.CAN-2004-0914_sec8	2004-11-29 15:04:10.105373839 +0100
+++ openMotif-2.2.3/lib/Xm/XpmWrFFrI.c	2004-11-29 15:04:10.150367679 +0100
@@ -322,10 +322,7 @@
 #ifndef NO_ZPIPE
 	size_t len = strlen(filename);
 
-	if(len == 0                        ||
-	   filename[0] == '/'              ||
-	   strstr(filename, "../") != NULL ||
-	   filename[len-1] == '/')
+	if(len == 0)
 		return(XpmOpenFailed);
 
 	if (len > 2 && !strcmp(".Z", filename + (len - 2))) {
 
design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin