]> granicus.if.org Git - php/commit
Better overflow check for entity decoding
authorNikita Popov <nikita.ppv@gmail.com>
Wed, 29 Jan 2020 13:22:45 +0000 (14:22 +0100)
committerNikita Popov <nikita.ppv@gmail.com>
Wed, 29 Jan 2020 15:08:46 +0000 (16:08 +0100)
commit18599f9c52959b2e8cbfac57e278644499a3547d
tree8369d9385e5ce2a713e243d864fcbf20d4b8ff30
parent085371b2994f7aa96e7b63cee81fc79194049892
Better overflow check for entity decoding

Check for multiplication overflow rather than number of digits.
ext/mbstring/libmbfl/mbfl/mbfilter.c
ext/mbstring/tests/mb_decode_numericentity.phpt