History

avcodec/dds: Fix runtime error: left shift of 1 by 31 places cannot be represented in type 'int'

Fixes: 1380/clusterfuzz-testcase-minimized-650122545122508

Michael Niedermayer committed 9 years ago

Commit 8a8335d1 parent e1b60aa1 file · +1 −1Browse files

Showing the changes to libavcodec/dds.c (1 of 1 file). Show all

Unified · Split

libavcodec/dds.c+1−1
@@ -39,7 +39,7 @@ · 38 unmodified lines
3939
4040 #define DDPF_FOURCC (1 << 2)
4141 #define DDPF_PALETTE (1 << 5)
42−#define DDPF_NORMALMAP (1 << 31)
42+#define DDPF_NORMALMAP (1U << 31)
4343
4444 enum DDSPostProc {
4545 DDS_NONE = 0,

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t