Open Quuxplusone opened 3 years ago
Bugzilla Link | PR48319 |
Status | NEW |
Importance | P normal |
Reported by | Emile Cormier (emile.cormier.jr@gmail.com) |
Reported on | 2020-11-27 14:36:34 -0800 |
Last modified on | 2020-11-27 20:48:03 -0800 |
Version | 3.2 |
Hardware | PC Linux |
CC | llvm-bugs@lists.llvm.org, mclow.lists@gmail.com |
Fixed by commit(s) | |
Attachments | |
Blocks | |
Blocked by | |
See also |
This looks like an easy fix to me.
- if (!(__err & ios_base::failbit) && __t <= 11)
+ if (!(__err & ios_base::failbit) && 0 <= __t && __t <= 11)
(see line 1942 in the same file for an example)