doctorames / fishtank

0 stars 0 forks source link

Stack smash when local time HOUR is double digits #15

Closed doctorames closed 2 years ago

doctorames commented 2 years ago

When checking the webpage, the system will crash if the current time HOUR happens to be 2 digits (10, 11 or 12).

Stack smashing protect failure!

abort() was called at PC 0x400e14a4 on core 1

Backtrace: 0x4008d11c:0x3ffb1d20 0x4008d34d:0x3ffb1d40 0x400e14a4:0x3ffb1d60 0x400d2533:0x3ffb1d80 0x400d2588:0x3ffb1e20 0x400d8476:0x3ffb1e60 0x400d851d:0x3ffb1e80 0x400d858a:0x3ffb1eb0 0x400d86f3:0x3ffb1f00 0x400d36c2:0x3ffb1f50 0x400dcaf9:0x3ffb1fb0 0x40089831:0x3ffb1fd0

Rebooting...

Any other time of day works fine.

doctorames commented 2 years ago

Fixed in #16