Changes

Jump to navigation Jump to search
443 bytes added ,  Friday at 21:01
Line 26: Line 26:     
=== [[NS_services|ns]] ===
 
=== [[NS_services|ns]] ===
* The only changed func was L_dce70, prev ver @ L_dce70.
+
* The only changed function was L_dce70.
** The code at 0xdd0c8 was changed from <code>if (w27) {...}</code> to <code>if (w27 & 1) {...}</code>
+
** This function iterates through "tmpCache" and attempts to shrink all JPEG images with [[Jpegdec_services#ShrinkJpegEx|ShrinkJpegEx]] in a loop.
** Error handling adjustments, etc.
+
** However, the objects holding the JPEG file context were being freed unconditionally which resulted in passing invalid arguments to [[Jpegdec_services#ShrinkJpegEx|ShrinkJpegEx]] which, in turn, would return the error code 0x7EECE (2206-1015).
 +
** The issue was fixed by first ignoring any error code returned by [[Jpegdec_services#ShrinkJpegEx|ShrinkJpegEx]] and then properly implementing the conditions that lead to freeing the JPEG file objects.
    
==See Also==
 
==See Also==

Navigation menu