I am closing this. It is possible to set a size that is larger than the PNG data and it will read find. Extracting the size from the actual data has no additional security if the png data should be corrupted to begin with, and no benefit if setting the end value to the end of unknown data still reads fine while protecting known data.
— Reply to this email directly, view it on GitHub, or unsubscribe. Triage notifications, keep track of coding agent tasks and review pull requests on the go with GitHub Mobile for iOS and Android. Download it today!
You are receiving this because you are subscribed to this thread.Message ID: <fltk/fltk/issues/1589/5544457908@github.com>
Comments are owned by the poster. All other content is copyright 1998-2026 by Bill Spitzak and others. This project is hosted by The FLTK Team. Please report site problems to 'erco@seriss.com'.