From: deraadt Date: Thu, 30 Jan 1997 21:55:27 +0000 (+0000) Subject: buf oflow, felix@mamba.pond.sub.org X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=b8557ef8292676f9c79f7a3030f7b7016551f393;p=openbsd buf oflow, felix@mamba.pond.sub.org --- 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;