mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-26 02:17:34 +09:00
Avoid overflow in nsPNGEncoder::WriteCallback.
This commit is contained in:
parent
e2411ad985
commit
f52945acfa
2 changed files with 40 additions and 13 deletions
|
|
@ -54,6 +54,7 @@ protected:
|
|||
static void WarningCallback(png_structp png_ptr, png_const_charp warning_msg);
|
||||
static void ErrorCallback(png_structp png_ptr, png_const_charp error_msg);
|
||||
static void WriteCallback(png_structp png, png_bytep data, png_size_t size);
|
||||
void NullOutImageBuffer();
|
||||
void NotifyListener();
|
||||
|
||||
png_struct* mPNG;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue