]> code.ossystems Code Review - openembedded-core.git/commit
icu: Use LARGE_BUFFER_MAX_SIZE for cmd
authorJackie Huang <jackie.huang@windriver.com>
Wed, 10 May 2017 06:29:11 +0000 (14:29 +0800)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 23 May 2017 16:43:58 +0000 (17:43 +0100)
commit2c3ec6b3c4e8faf9cf88ae33727b4fecef83d0f8
tree4b52ad55139c11b2f3437d491ea09cf5aaa9c53e
parentdfe40b7abbea36605e4ea8f74ec8e477505148a6
icu: Use LARGE_BUFFER_MAX_SIZE for cmd

The previous patch used LARGE_BUFFER_MAX_SIZE instead
of SMALL_BUFFER_MAX_SIZE for cmd in function pkg_installLibrary,
which only fixed some of the cases when the command line
is too long, some other cases indicate that the
LARGE_BUFFER_MAX_SIZE is also needed in pkg_installCommonMode
and pkg_installFileMode to avoid overflow:

| *** buffer overflow detected ***: ../bin/pkgdata terminated

Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
meta/recipes-support/icu/icu/icu-pkgdata-large-cmd.patch