Hello community,

here is the log from the commit of package less for openSUSE:Factory checked in 
at 2015-07-14 17:19:59
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/less (Old)
 and      /work/SRC/openSUSE:Factory/.less.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "less"

Changes:
--------
--- /work/SRC/openSUSE:Factory/less/less.changes        2015-03-23 
12:14:04.000000000 +0100
+++ /work/SRC/openSUSE:Factory/.less.new/less.changes   2015-07-14 
17:20:00.000000000 +0200
@@ -1,0 +2,6 @@
+Thu Jun 25 09:17:17 UTC 2015 - vci...@suse.com
+
+- fix a crash in hilite_line (boo#915387)
+  * added less-fix_crash_in_hilite_line.patch 
+
+-------------------------------------------------------------------

New:
----
  less-fix_crash_in_hilite_line.patch

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ less.spec ++++++
--- /var/tmp/diff_new_pack.JCKkd1/_old  2015-07-14 17:20:01.000000000 +0200
+++ /var/tmp/diff_new_pack.JCKkd1/_new  2015-07-14 17:20:01.000000000 +0200
@@ -36,6 +36,8 @@
 Patch28:        %{name}-429-more.patch
 # PATCH-FIX-UPSTREAM bnc#921719 kstreit...@suse.com -- security fix of an out 
of bound read access in the UTF-8
 Patch29:        less-458-out_of_bounds_read.patch
+# PATCH-FIX-UPSTREAM fix crash in nomatch search
+Patch30:        less-fix_crash_in_hilite_line.patch
 BuildRequires:  automake
 BuildRequires:  ncurses-devel
 Requires:       file
@@ -56,6 +58,7 @@
 %patch27
 %patch28
 %patch29 -p1
+%patch30 -p1
 #
 # the ./configure script is not writable for the normal user
 # rather fix permissions for all files

++++++ less-fix_crash_in_hilite_line.patch ++++++
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

Reply via email to