File: 040_fix_array_overrun.patch

package info (click to toggle)
overgod 1.0-5
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 4,876 kB
  • ctags: 3,801
  • sloc: ansic: 31,576; makefile: 21; sh: 10
file content (16 lines) | stat: -rw-r--r-- 561 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
Description: SHIELD_BMPS allows overrun of array so add BMP_SHIELDS_DR8 
    and BMP_SHIELD_DL1 to the enum to bump it down.
Author: Barry deFreese <bdefreese@debian.org>
Index: overgod-1.0/display.h
===================================================================
--- overgod-1.0.orig/display.h	2005-09-10 15:32:02.000000000 -0400
+++ overgod-1.0/display.h	2013-08-03 17:15:50.603862751 -0400
@@ -280,6 +280,8 @@
 BMP_SHIELD_DR5,
 BMP_SHIELD_DR6,
 BMP_SHIELD_DR7,
+BMP_SHIELD_DR8,
+BMP_SHIELD_DL1,
 BMP_SHIELD_DL2,
 BMP_SHIELD_DL3,
 BMP_SHIELD_DL4,