mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-11-10 23:02:03 +00:00
SW: Fix potential buffer overrun in colormap
From JFSW commit 18d1c68893693e68d0ce7d41bd1eacbec5655d4f git-svn-id: https://svn.eduke32.com/eduke32@8624 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
parent
a2f507d044
commit
8e0407a425
1 changed files with 1 additions and 1 deletions
|
@ -275,7 +275,7 @@ InitPalette(void)
|
|||
// Save default palette
|
||||
//
|
||||
|
||||
memcpy(DefaultPalette, palookup[PALETTE_DEFAULT], 256 * 32);
|
||||
memcpy(DefaultPalette, palookup[PALETTE_DEFAULT], 256 * numshades);
|
||||
|
||||
//
|
||||
// Dive palettes
|
||||
|
|
Loading…
Reference in a new issue