off by one in the kris loader. reported upstream

This commit is contained in:
avsm 2003-06-16 19:56:45 +00:00
parent 70caa73821
commit 828270b31e

View File

@ -0,0 +1,12 @@
$OpenBSD: patch-src_loaders_kris_load_c,v 1.1 2003/06/16 19:56:45 avsm Exp $
--- src/loaders/kris_load.c.orig Fri Dec 29 18:08:31 2000
+++ src/loaders/kris_load.c Mon Jun 16 20:47:42 2003
@@ -43,7 +43,7 @@ int kris_load (FILE *f)
int i, j;
struct xxm_event *event;
struct kris_header kh;
- uint8 kris_event[3];
+ uint8 kris_event[4];
LOAD_INIT ();