Blame SOURCES/openslp-2.0.0-null-pointer-deref.patch

e632d0
diff -up openslp-2.0.0/common/slp_xmalloc.c.orig openslp-2.0.0/common/slp_xmalloc.c
e632d0
--- openslp-2.0.0/common/slp_xmalloc.c.orig	2012-12-07 01:52:08.000000000 +0100
e632d0
+++ openslp-2.0.0/common/slp_xmalloc.c	2016-05-23 12:58:57.953532979 +0200
e632d0
@@ -203,6 +203,8 @@ void * _xrealloc(const char * file, int
e632d0
       if (x->size != size)
e632d0
       {
e632d0
          newptr = _xmalloc(file, line, size);
e632d0
+         if (newptr == 0)
e632d0
+            return 0;
e632d0
          memcpy(newptr, ptr, x->size);
e632d0
          _xfree(file, line, x);
e632d0
       }