mirror of
https://invent.kde.org/frameworks/kimageformats.git
synced 2025-11-30 12:02:42 -05:00
Fix crash on malformed files
This commit is contained in:
@ -350,6 +350,12 @@ protected:
|
||||
|
||||
static ChunkList innerFromDevice(QIODevice *d, bool *ok, IFFChunk *parent = nullptr);
|
||||
|
||||
/*!
|
||||
* \brief dataBytes
|
||||
* \return Maximum usable cache data size.
|
||||
*/
|
||||
quint32 dataBytes() const;
|
||||
|
||||
private:
|
||||
char _chunkId[4];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user