From b8557ef8292676f9c79f7a3030f7b7016551f393 Mon Sep 17 00:00:00 2001 From: deraadt Date: Thu, 30 Jan 1997 21:55:27 +0000 Subject: [PATCH] buf oflow, felix@mamba.pond.sub.org --- games/sail/externs.h | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/games/sail/externs.h b/games/sail/externs.h index 421f2b5de7a..f8045102500 100644 --- a/games/sail/externs.h +++ b/games/sail/externs.h @@ -194,18 +194,18 @@ struct File { char struck; /* 66 */ struct ship *captured; /* 68 */ short pcrew; /* 70 */ - char movebuf[10]; /* 72 */ - char drift; /* 82 */ + char movebuf[60]; /* 72 */ + char drift; /* 132 */ short nfoul; short ngrap; - struct snag foul[NSHIP]; /* 84 */ - struct snag grap[NSHIP]; /* 124 */ - char RH; /* 224 */ - char RG; /* 226 */ - char RR; /* 228 */ - char FS; /* 230 */ - char explode; /* 232 */ - char sink; /* 234 */ + struct snag foul[NSHIP]; /* 134 */ + struct snag grap[NSHIP]; /* 144 */ + char RH; /* 274 */ + char RG; /* 276 */ + char RR; /* 278 */ + char FS; /* 280 */ + char explode; /* 282 */ + char sink; /* 284 */ char dir; short col; short row; -- 2.20.1