14 lines
351 B
Diff
14 lines
351 B
Diff
|
Fix off-by-one error in glob call.
|
||
|
|
||
|
--- ./rpmio/rpmrpc.c.orig 2005-12-16 15:01:26.000000000 +0000
|
||
|
+++ ./rpmio/rpmrpc.c 2006-02-13 18:55:39.000000000 +0000
|
||
|
@@ -1403,7 +1415,7 @@ int Glob_pattern_p (const char * pattern
|
||
|
case '*':
|
||
|
return (1);
|
||
|
case '\\':
|
||
|
- if (quote && p[1] != '\0')
|
||
|
+ if (quote && *p != '\0')
|
||
|
p++;
|
||
|
continue;
|
||
|
|