2 posts • Page 1 of 1
I happened to stumble upon this apparent bug in source code, but I haven't confirmed it actually happens (because I don't really know where these RTCs are used). Anyway, I'm pretty sure that without this patch PCem could potentionally crash when it tries to index rtc_days_in_month, which is out of bounds, hence the patch. But I guess it would still be good to confirm this actually helps before applying it...
- (1.13 KiB) Downloaded 75 times
Looks like this would only be a problem if PCem was running at midnight on the last day of the month, and even then the RTC would most likely sync with the host machine so the error would be pretty short lived. Still, good to have it fixed! Merged at rev 1203.