]> CyberLeo.Net >> Repos - FreeBSD/stable/10.git/commit
MFC r336115;
authorpfg <pfg@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Mon, 16 Jul 2018 00:28:33 +0000 (00:28 +0000)
committerpfg <pfg@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Mon, 16 Jul 2018 00:28:33 +0000 (00:28 +0000)
commit909b618adf8f3c49e4b4b540da9be546c13cf8d9
treeb93f8ad690c06317d2758bda1bb5773a4a62cd8f
parent8788411c52b8cec9c9ca3016b99b6d0f8b97a349
MFC r336115;
libiconv: correct undefined behavior.

Detected on NetBSD:
# nm /usr/lib/libc.so|grep sanit
    /public/src.git/lib/libc/citrus/modules/citrus_mapper_std.c:173:8:
runtime error: left shift of 1 by 31 places cannot be represented in type 'int'

Obtained from: NetBSD (CVS Rev. 1.11)

git-svn-id: svn://svn.freebsd.org/base/stable/10@336324 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
lib/libiconv_modules/mapper_std/citrus_mapper_std.c