Package: lcgdm / 1.10.0-2

lcgdm-segfault.patch Patch series | download
1
2
3
4
5
6
7
8
9
10
11
12
13
diff -ur lcgdm-1.8.6.orig/rfio/rename.c lcgdm-1.8.6/rfio/rename.c
--- lcgdm-1.8.6.orig/rfio/rename.c	2012-12-14 14:38:49.000000000 +0100
+++ lcgdm-1.8.6/rfio/rename.c	2013-06-27 16:12:22.441177244 +0200
@@ -53,7 +53,8 @@
    if (host != NULL)
       strcpy(hostnameo, host);
 
-   strcpy(filenameo, path);
+   if (path != NULL)
+      strcpy(filenameo, path);
 
    rpn = parserc = rfio_parse(filen,&host, &path);