fix(rtc): reject invalid RFC 3339 timezone offsets #429
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/429"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Imported from boykopovar/AnyPS5. Originally posted by RomainROCH on 2026-10-03T02:29:04Z.
What
Reject RFC 3339 numeric timezone offsets whose hours exceed 23 or whose minutes exceed 59. Return the existing bad-parse error before assigning the output tick.
An offset such as
+00:99previously parsed successfully and changed the output tick.Tested
Tested commit:
44c9c77a7cffa7eaf250b70b2c8d5fc96f6e1318, based onmainat7d40a57d185b30735fbc519a9bdf2548d4bcb87f.The full fork Build workflow succeeded on both platforms: Release configuration, default build,
libstarget, and CTest with--repeat until-fail:3.The focused
guest_rtctests passed on both platforms in all three repetitions. The skipped tests are GPU execution tests: two on Linux and eleven on Windows.These are fork results on the specified commit. An upstream workflow requiring maintainer approval has not executed until approved.
The regression failed before the correction. Coverage includes positive and negative invalid minute/hour boundaries, unchanged output on failure, and valid
Z,+01:30,+/-00:00,+/-00:59, and+/-23:59offsets.The existing RTC tests remain in place. #302 adds
sceRtcParseDateTimein this file; it does not implement this validation insceRtcParseRFC3339. All fixtures are synthetic. No game or homebrew title was tested; these results do not establish game compatibility.Checklist
main; no other open PR implements the same functions