Blame SOURCES/fribidi-CVE-2022-25310.patch

e39505
diff -pruN fribidi-1.0.4/lib/fribidi-deprecated.c fribidi-1.0.4.orig/lib/fribidi-deprecated.c
e39505
--- fribidi-1.0.4.orig/lib/fribidi-deprecated.c	2022-04-14 17:00:47.432555374 +0900
e39505
+++ fribidi-1.0.4/lib/fribidi-deprecated.c	2018-03-01 16:37:02.000000000 +0900
e39505
@@ -121,7 +121,7 @@ fribidi_remove_bidi_marks (
e39505
   fribidi_boolean status = false;
e39505
 
e39505
   if UNLIKELY
e39505
-    (len == 0)
e39505
+    (len == 0 || str == NULL)
e39505
     {
e39505
       status = true;
e39505
       goto out;