Created Firmware 20.0.1 (markdown)

Zoria
2025-05-31 22:07:33 +02:00
parent 43fef89686
commit 87841348fb

20
Firmware-20.0.1.md Normal file

@ -0,0 +1,20 @@
# System Titles
The following titles were updated:
Sysmodules: ns.
[NPDM](https://switchbrew.org/wiki/NPDM) changes (besides usual version-bump): none.
RomFs changes:
[SystemVersion](https://switchbrew.org/wiki/System_Version_Title): All files updated.
# IPC Interface Changes
No changes.
# [ns](https://switchbrew.org/wiki/NS_services)
The only changed function was L_dce70.
This function iterates through "tmpCache" and attempts to shrink all JPEG images with [ShrinkJpegEx](https://switchbrew.org/wiki/Jpegdec_services#ShrinkJpegEx) in a loop.
However, the objects holding the JPEG file context were being freed unconditionally which resulted in passing invalid arguments (use-after-free) to [ShrinkJpegEx](https://switchbrew.org/wiki/Jpegdec_services#ShrinkJpegEx) which, in turn, would return the error code 0x7EECE (2206-1015) which the function would then blindly return back.
The issue was fixed by first no longer blindly return the error code returned by [ShrinkJpegEx](https://switchbrew.org/wiki/Jpegdec_services#ShrinkJpegEx) and then properly implementing the conditions that lead to freeing the JPEG file objects.