Menu

#10 StrToNum<> fails to recognise overflows

fgms-0.9
closed
None
5
2022-06-05
2017-06-28
No

example uint16_t i = StrToNum<uint16_t> (12345)
gives i = 57920 without detecting the error</uint16_t>

Discussion

  • Oliver Schroeder

    • assigned_to: Oliver Schroeder
     
  • Oliver Schroeder

    Fixed in 0.13.8 (upcoming release)

     
  • Oliver Schroeder

    • status: open --> closed
     

Log in to post a comment.

MongoDB Logo MongoDB