mirror of
https://git.yoctoproject.org/poky
synced 2026-04-21 12:32:15 +02:00
perl: Backport fix for bug #123591
This patch fixes a crash in perl when using formatted strings @... (From OE-Core rev: 6ff3776bb7f1a7ba2fc641bfd9b8546c4bb02466) (From OE-Core rev: 598d8f869a145ced01d059b30f8307df714d1938) Signed-off-by: Gary Thomas <gary@mlbassoc.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> Signed-off-by: Armin Kuster <akuster808@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
33cda871d3
commit
8b255bd491
@@ -0,0 +1,21 @@
|
||||
Upstream-Status: Backport
|
||||
Reference: https://rt.perl.org/Public/Bug/Display.html?id=123591
|
||||
From 62db6ea5fed19611596cbc5fc0b8a4df2c604e58 Mon Sep 17 00:00:00 2001
|
||||
From: Tony Cook <tony@develop-help.com>
|
||||
Date: Mon, 19 Jan 2015 16:03:18 +1100
|
||||
Subject: [PATCH 1/1] [perl #123538] always set chophere and itembytes at the same time
|
||||
|
||||
Previously this would crash in FF_MORE because chophere was still NULL.
|
||||
|
||||
Signed-off-by: Gary Thomas <gary@mlbassoc.com>
|
||||
Index: perl-5.20.0/pp_ctl.c
|
||||
===================================================================
|
||||
--- perl-5.20.0.orig/pp_ctl.c
|
||||
+++ perl-5.20.0/pp_ctl.c
|
||||
@@ -590,6 +590,7 @@ PP(pp_formline)
|
||||
break;
|
||||
}
|
||||
itembytes = s - item;
|
||||
+ chophere = s;
|
||||
break;
|
||||
}
|
||||
@@ -63,6 +63,7 @@ SRC_URI += " \
|
||||
file://fix_bad_rpath.patch \
|
||||
file://perl-archlib-exp.patch \
|
||||
file://dynaloaderhack.patch \
|
||||
file://fix-FF_MORE-crash.patch \
|
||||
\
|
||||
\
|
||||
file://config.sh \
|
||||
|
||||
Reference in New Issue
Block a user