PR libstdc++/67214 Avoid signed overflow in num_get::_M_extract_int
authorXi Ruoyao <ryxi@stu.xidian.edu.cn>
Tue, 23 May 2017 10:16:08 +0000 (10:16 +0000)
committerJonathan Wakely <redi@gcc.gnu.org>
Tue, 23 May 2017 10:16:08 +0000 (11:16 +0100)
commit5383998a5885cfc56a71680231b2e7f0a72272d2
treeae5d995c6ee17d13ac5743f45f52adfe2cf8e381
parent008c7367882c28ab07d39b3e914533cc6ca2256a
PR libstdc++/67214 Avoid signed overflow in num_get::_M_extract_int

2017-05-23  Xi Ruoyao  <ryxi@stu.xidian.edu.cn>

PR libstdc++/67214
* include/bits/locale_facets.tcc (num_get::_M_extract_int): Add
explicit conversion to avoid signed overflow.

From-SVN: r248362
libstdc++-v3/ChangeLog
libstdc++-v3/include/bits/locale_facets.tcc