1234567891011 |
- --- nfs-utils-1.3.0.orig/utils/mountd/fsloc.c 2014-03-25 16:12:07.000000000 +0100
- +++ nfs-utils-1.3.0/utils/mountd/fsloc.c 2014-05-13 20:23:33.000000000 +0200
- @@ -127,7 +127,7 @@ static struct servers *method_list(char
- bool v6esc = false;
-
- xlog(L_NOTICE, "method_list(%s)", data);
- - for (ptr--, listsize=1; ptr; ptr=index(ptr, ':'), listsize++)
- + for (ptr--, listsize=1; ptr; ptr=strchr(ptr, ':'), listsize++)
- ptr++;
- list = malloc(listsize * sizeof(char *));
- copy = strdup(data);
|