When using gmtime_r with huge value on amd64 it creates a brokentime with big tm_mon value. If you then call strftime and use %b the program will crash. I will attach an example.
Created attachment 1983 [details] An example that crashes on amd64
Oh, damn it, I should have checked the return value of gmtime_r Still, is strftime supposed to crash with big tm_mon value?
Nothing to see here, move along