diff options
author | imp <imp@FreeBSD.org> | 1997-02-09 04:47:19 +0000 |
---|---|---|
committer | imp <imp@FreeBSD.org> | 1997-02-09 04:47:19 +0000 |
commit | 9b5899c4526067a3af8244f8b8bee1fda233532b (patch) | |
tree | 2a49c7b3181ba4e8d497892dbd62e34d9be7ffc0 /games | |
parent | cced79bd4c2b8c70d4e0cd695a83a05aa63e8696 (diff) | |
download | FreeBSD-src-9b5899c4526067a3af8244f8b8bee1fda233532b.zip FreeBSD-src-9b5899c4526067a3af8244f8b8bee1fda233532b.tar.gz |
Buffer overflow from OpenBSD
1.3 deraadt:
buf oflow, felix@mamba.pond.sub.org
Obtained from: OpenBSD
Not sure how to exploit this, but may be a backmerge candidate.
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 4ee8075..541b5a6 100644 --- a/games/sail/externs.h +++ b/games/sail/externs.h @@ -191,18 +191,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; |