diff options
Diffstat (limited to 'x11-libs/openmotif/files/openmotif-2.1.30-CAN-2004-0914_sec8.patch')
-rw-r--r-- | x11-libs/openmotif/files/openmotif-2.1.30-CAN-2004-0914_sec8.patch | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/x11-libs/openmotif/files/openmotif-2.1.30-CAN-2004-0914_sec8.patch b/x11-libs/openmotif/files/openmotif-2.1.30-CAN-2004-0914_sec8.patch new file mode 100644 index 000000000000..bf95bf1fd2ea --- /dev/null +++ b/x11-libs/openmotif/files/openmotif-2.1.30-CAN-2004-0914_sec8.patch @@ -0,0 +1,14 @@ +--- motif/lib/Xm/XpmWrFFrI.c.CAN-2004-0914_sec8 2004-11-29 14:56:12.848706139 +0100 ++++ motif/lib/Xm/XpmWrFFrI.c 2004-11-29 14:56:12.872702854 +0100 +@@ -317,10 +317,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))) { |