diff options
author | Robert Yang <liezhi.yang@windriver.com> | 2019-09-24 15:34:26 +0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2019-09-27 13:02:16 +0100 |
commit | b6e5346f46025699841f41fbe96680a1e1f01cad (patch) | |
tree | 8b716ac28871142b147365013c1cba1dca67787d /meta/recipes-devtools/expect/expect_5.45.4.bb | |
parent | 68092163cccb23ed943facea77600c02e95192c4 (diff) | |
download | poky-b6e5346f46025699841f41fbe96680a1e1f01cad.tar.gz |
expect: Fix buffer overflow error when build in long path
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]
(From OE-Core rev: c8d0bf3411846bb3852bffaf59193801d9c7530a)
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
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 5f59083ad2..39ae6151f6 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 \ | |||
25 | file://0001-expect-install-scripts-without-using-the-fixline1-tc.patch \ | 25 | file://0001-expect-install-scripts-without-using-the-fixline1-tc.patch \ |
26 | file://0001-Resolve-string-formatting-issues.patch \ | 26 | file://0001-Resolve-string-formatting-issues.patch \ |
27 | file://0001-expect-Fix-segfaults-if-Tcl-is-built-with-stubs-and-.patch \ | 27 | file://0001-expect-Fix-segfaults-if-Tcl-is-built-with-stubs-and-.patch \ |
28 | file://0001-exp_main_sub.c-Use-PATH_MAX-for-path.patch \ | ||
28 | " | 29 | " |
29 | SRC_URI[md5sum] = "00fce8de158422f5ccd2666512329bd2" | 30 | SRC_URI[md5sum] = "00fce8de158422f5ccd2666512329bd2" |
30 | SRC_URI[sha256sum] = "49a7da83b0bdd9f46d04a04deec19c7767bb9a323e40c4781f89caf760b92c34" | 31 | SRC_URI[sha256sum] = "49a7da83b0bdd9f46d04a04deec19c7767bb9a323e40c4781f89caf760b92c34" |