2016-09-16 13:10:58 +02:00
|
|
|
---
|
|
|
|
bashline.c | 7 +++++++
|
|
|
|
1 file changed, 7 insertions(+)
|
|
|
|
|
2010-03-09 17:24:21 +01:00
|
|
|
--- bashline.c
|
2019-01-09 14:08:47 +01:00
|
|
|
+++ bashline.c 2018-11-29 08:12:25.876588305 +0000
|
2019-09-09 10:31:34 +02:00
|
|
|
@@ -2046,6 +2046,13 @@ globword:
|
2010-03-09 17:24:21 +01:00
|
|
|
return ((char *)NULL);
|
|
|
|
}
|
|
|
|
|
|
|
|
+ if (GLOB_FAILED (glob_matches) || glob_matches == 0)
|
|
|
|
+ {
|
|
|
|
+ glob_ignore_case = old_glob_ignore_case;
|
|
|
|
+ glob_matches = (char **)NULL;
|
|
|
|
+ return ((char *)NULL);
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
while (val = glob_matches[local_index++])
|
|
|
|
{
|
|
|
|
if (executable_or_directory (val))
|