mirror of
https://github.com/chatmail/core.git
synced 2026-09-22 13:01:21 +03:00
fix: do not load webxdc icon if it has too large dimensions
BREAKING CHANGE: get_webxdc_blob() may fail to load icon.png or icon.jpg if image dimensions are too large. The issue is discovered by https://github.com/Sergei768
This commit is contained in:
BIN
test-data/webxdc/with-broken-png-icon.xdc
Normal file
BIN
test-data/webxdc/with-broken-png-icon.xdc
Normal file
Binary file not shown.
BIN
test-data/webxdc/with-too-large-png-icon.xdc
Normal file
BIN
test-data/webxdc/with-too-large-png-icon.xdc
Normal file
Binary file not shown.
Reference in New Issue
Block a user