- fix a crash in hilite_line (boo#915387) * added less-fix_crash_in_hilite_line.patch OBS-URL: https://build.opensuse.org/request/show/313669 OBS-URL: https://build.opensuse.org/package/show/Base:System/less?expand=0&rev=52
13 lines
417 B
Diff
13 lines
417 B
Diff
Index: less-458/pattern.c
|
|
===================================================================
|
|
--- less-458.orig/pattern.c 2013-04-04 18:55:06.000000000 +0200
|
|
+++ less-458/pattern.c 2015-06-25 11:06:56.681087046 +0200
|
|
@@ -277,6 +277,7 @@ match_pattern(pattern, tpattern, line, l
|
|
struct regexp *spattern = (struct regexp *) pattern;
|
|
#endif
|
|
|
|
+ *sp = *ep = NULL;
|
|
#if NO_REGEX
|
|
search_type |= SRCH_NO_REGEX;
|
|
#endif
|