Here is the updated diff for convenience.
=== modified file 'src/mountall.c' --- src/mountall.c 2012-10-09 19:32:55 +0000 +++ src/mountall.c 2012-12-19 16:28:45 +0000 @@ -684,7 +684,8 @@
va_copy (options, args); while ((option = va_arg (options, const char *)) != NULL) { - if (j && ! strncmp (opts + i, option, j)) + if (j && strlen(option) == j + && ! strncmp (opts + i, option, j)) break; } va_end (options);
Here is the updated diff for convenience.
=== modified file 'src/mountall.c'
--- src/mountall.c 2012-10-09 19:32:55 +0000
+++ src/mountall.c 2012-12-19 16:28:45 +0000
@@ -684,7 +684,8 @@
va_copy (options, args);
while ((option = va_arg (options, const char *)) != NULL) {
- if (j && ! strncmp (opts + i, option, j))
+ if (j && strlen(option) == j
+ && ! strncmp (opts + i, option, j))
break;
}
va_end (options);