diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 1997-01-30 21:55:28 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 1997-01-30 21:55:28 +0000 |
commit | 8af7de9e2d1c28f31002f7da5d8a176e4f61d76e (patch) | |
tree | 486cc4d2b26f6ec95543b8a5dbd4a03d1eb8a74f /games | |
parent | cb39219ffc9d52d4a7f3b48d51f40be7c3a6e1c3 (diff) |
buf oflow, felix@mamba.pond.sub.org
Diffstat (limited to 'games')
-rw-r--r-- | games/sail/externs.h | 20 |
1 files 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; |