Commit Graph
3 Commits
Author SHA1 Message Date
simnJS e359410014 fix(libSceJxr): reject null and read-only packet state in readIS and writeIS as invalid arguments
jxrlib's readIS and writeIS use the bit state, the stream and its callbacks without checks, and pass a null packet to the read or write callback before dereferencing or offsetting it. Throw std::invalid_argument at those points instead of NotImplemented_nid_no_patch, and let a null packet reach the callback first, so a failed write of a null packet returns the callback's error as jxrlib does.
2026-10-28 15:01:07 +01:00
AZLisme 05001982e2 fix(jxr): reject closed packet host-write guards 2026-10-25 21:08:56 +08:00
AZLisme 86ea8555cb feat(jxr): implement stream packet refill and flush 2026-10-25 21:04:32 +08:00