]> granicus.if.org Git - python/commit
bpo-35194: Fix a wrong constant in cp932 codec (GH-10420)
authorAlexey Izbyshev <izbyshev@ispras.ru>
Fri, 9 Nov 2018 07:12:06 +0000 (10:12 +0300)
committerMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Fri, 9 Nov 2018 07:12:06 +0000 (23:12 -0800)
commit7a69cf47a9bbc95f95fd67c982bff121b2a903cb
tree419c9be853df32f31ae559abc448ebde4bc3ba11
parent0f221d09cad46bee38d1b7a7822772df66c53028
bpo-35194: Fix a wrong constant in cp932 codec (GH-10420)

This typo doesn't affect the result because wrong bits are discarded
on implicit conversion to unsigned char, but it trips UBSan
with -fsanitize=implicit-integer-truncation.

https://bugs.python.org/issue35194
Modules/cjkcodecs/_codecs_jp.c