diff options
author | Robert Yang <liezhi.yang@windriver.com> | 2019-09-24 14:15:27 +0800 |
---|---|---|
committer | Robert Yang <liezhi.yang@windriver.com> | 2019-09-24 15:44:08 +0800 |
commit | dddaee6f426be189b63ac65cb897059e210cb146 (patch) | |
tree | 66f7564f663d6bc41c97b26da3a524070a8f1e0f /meta/recipes-devtools/expect/expect_5.45.4.bb | |
parent | 95ad5626296380358c8a502a3e04879dab653d78 (diff) | |
download | openembedded-core-contrib-dddaee6f426be189b63ac65cb897059e210cb146.tar.gz |
expect: Fix buffer overflow error when build in long pathrbt/expect
Fixed when built the project in a long path (len(TMPDIR) > 200):
$ bitbake dejagnu-native
[snip]
checking Tcl version 8.5 or greater... *** buffer overflow detected ***:
TOPDIR/tmp-glibc/work/x86_64-linux/dejagnu-native/1.6.2-r0/recipe-sysroot-native/usr/bin/expect terminated
[snip]
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Diffstat (limited to 'meta/recipes-devtools/expect/expect_5.45.4.bb')
-rw-r--r-- | meta/recipes-devtools/expect/expect_5.45.4.bb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/meta/recipes-devtools/expect/expect_5.45.4.bb b/meta/recipes-devtools/expect/expect_5.45.4.bb index 96eacd9293..dcd252f487 100644 --- a/meta/recipes-devtools/expect/expect_5.45.4.bb +++ b/meta/recipes-devtools/expect/expect_5.45.4.bb @@ -25,6 +25,7 @@ SRC_URI = "${SOURCEFORGE_MIRROR}/expect/Expect/${PV}/${BPN}${PV}.tar.gz \ file://0001-expect-install-scripts-without-using-the-fixline1-tc.patch \ file://0001-Resolve-string-formatting-issues.patch \ file://0001-expect-Fix-segfaults-if-Tcl-is-built-with-stubs-and-.patch \ + file://0001-exp_main_sub.c-Use-PATH_MAX-for-path.patch \ " SRC_URI[md5sum] = "00fce8de158422f5ccd2666512329bd2" SRC_URI[sha256sum] = "49a7da83b0bdd9f46d04a04deec19c7767bb9a323e40c4781f89caf760b92c34" |