mirror of
https://invent.kde.org/frameworks/kimageformats.git
synced 2025-07-18 20:04:16 -04:00
DDS: fix buffer overflow in readCubeMap
The issue was identified by OSS Fuzz and the feature was not covered by our tests. - Added earth-cubemap.dds under MIT licenses taken from [Open Toolkit library](https://github.com/mono/opentk/tree/main/Source/Examples/Data/Textures) - Fix a wrong image size returned by a cubemap image - Read test skips .license files
This commit is contained in:
committed by
Albert Astals Cid
parent
87eff569a4
commit
ecbcf3b7f4
BIN
autotests/read/dds/earth-cubemap.dds
Normal file
BIN
autotests/read/dds/earth-cubemap.dds
Normal file
Binary file not shown.
2
autotests/read/dds/earth-cubemap.license
Normal file
2
autotests/read/dds/earth-cubemap.license
Normal file
@ -0,0 +1,2 @@
|
||||
SPDX-FileCopyrightText: Copyright (c) 2006 - 2010 The Open Toolkit library.
|
||||
SPDX-License-Identifier: MIT
|
BIN
autotests/read/dds/earth-cubemap.png
Normal file
BIN
autotests/read/dds/earth-cubemap.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 956 KiB |
Reference in New Issue
Block a user