Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 465748

Summary: =app-text/texlive-core-2012-r1 : _FORTIFY_SOURCE reports presence of overflows
Product: Gentoo Linux Reporter: Agostino Sarubbo <ago>
Component: Current packagesAssignee: Alexis Ballier <aballier>
Status: RESOLVED FIXED    
Severity: normal CC: tex
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 259417, 449298    

Description Agostino Sarubbo gentoo-dev 2013-04-13 07:29:58 UTC
x86_64-pc-linux-gnu-g++ -ffunction-sections -fdata-sections  -DU_ENABLE_DYLOAD=0 -DICU_USE_THREADS=0  -I/var/tmp/portage/app-text/texlive-core-2012-r1/work/texlive-20120701-source/
libs/icu/icu-49.1/common -I/var/tmp/portage/app-text/texlive-core-2012-r1/work/texlive-20120701-source/libs/icu/icu-49.1/tools/pkgdata/../toolutil -DU_ATTRIBUTE_DEPRECATED= -DUDATA
_SO_SUFFIX=\".so\" -DSTATIC_O=\"ao\" -march=native -O2 -pipe -c   -o pkgdata.o /var/tmp/portage/app-text/texlive-core-2012-r1/work/texlive-20120701-source/libs/icu/icu-49.1/tools/p
kgdata/pkgdata.cpp
x86_64-pc-linux-gnu-gcc -ffunction-sections -fdata-sections  -DU_ENABLE_DYLOAD=0 -DICU_USE_THREADS=0  -I/var/tmp/portage/app-text/texlive-core-2012-r1/work/texlive-20120701-source/
libs/icu/icu-49.1/common -I/var/tmp/portage/app-text/texlive-core-2012-r1/work/texlive-20120701-source/libs/icu/icu-49.1/tools/pkgdata/../toolutil -DU_ATTRIBUTE_DEPRECATED= -DUDATA
_SO_SUFFIX=\".so\" -DSTATIC_O=\"ao\" -march=native -O2 -g0 -pipe -c   -o pkgtypes.o /var/tmp/portage/app-text/texlive-core-2012-r1/work/texlive-20120701-source/libs/icu/icu-49.1/to
ols/pkgdata/pkgtypes.c
cd ../.. \
 && CONFIG_FILES=tools/pkgdata/pkgdata.1 CONFIG_HEADERS= /bin/sh ./config.status
config.status: creating tools/pkgdata/pkgdata.1
In file included from /usr/include/string.h:642:0,
                 from /var/tmp/portage/app-text/texlive-core-2012-r1/work/texlive-20120701-source/libs/icu/icu-49.1/common/cmemory.h:28,
                 from /var/tmp/portage/app-text/texlive-core-2012-r1/work/texlive-20120701-source/libs/icu/icu-49.1/tools/pkgdata/pkgdata.cpp:33:
In function 'char* strncat(char*, const char*, size_t)',
    inlined from 'int32_t _ZL27pkg_getOptionsFromICUConfigaP7UOption.isra.1(UBool, const char**, char*)' at /var/tmp/portage/app-text/texlive-core-2012-r1/work/texlive-20120701-sou
rce/libs/icu/icu-49.1/tools/pkgdata/pkgdata.cpp:1922:38,
    inlined from 'int main(int, char**)' at /var/tmp/portage/app-text/texlive-core-2012-r1/work/texlive-20120701-source/libs/icu/icu-49.1/tools/pkgdata/pkgdata.cpp:280:87:
/usr/include/bits/string3.h:152:71: warning: call to char* __builtin___strncat_chk(char*, const char*, long unsigned int, long unsigned int) might overflow destination buffer [enabled by default]
Comment 1 Alexis Ballier gentoo-dev 2013-04-18 08:44:29 UTC
+  18 Apr 2013; Alexis Ballier <aballier@gentoo.org>
+  texlive-core-2012-r1.ebuild:
+  Trivial patch to increase one temporary buffer size to avoid FORTIFY_SOURCE
+  warnings. Bug #465748
+


since the code is the same, please trigger and report it against dev-libs/icu;
patch will be dropped at some point