Thalhammer / jwt-cpp

A header only library for creating and validating json web tokens in c++
https://thalhammer.github.io/jwt-cpp/
MIT License
855 stars 233 forks source link

Remove undefined behavior usage #301

Closed lirik90 closed 9 months ago

lirik90 commented 1 year ago

It's possible fix for issue #300

prince-chrismc commented 1 year ago

It seems the related test are now failing

[ RUN      ] BaseTest.Base64DecodeURLCaseInsensitive
unknown file: Failure
C++ exception with description "std::bad_alloc" thrown in the test body.
[  FAILED  ]
lirik90 commented 1 year ago

Thanks. I'll check it out and come back with a solution.

prince-chrismc commented 9 months ago

Going to mark this as a duplicate of #312 thanks a ton for helping fix the problem