diff options
author | Loganaden Velvindron <logan@cvs.openbsd.org> | 2015-11-16 06:13:05 +0000 |
---|---|---|
committer | Loganaden Velvindron <logan@cvs.openbsd.org> | 2015-11-16 06:13:05 +0000 |
commit | 24c8dca50b88192c56f682f2e41053a8e17d57e5 (patch) | |
tree | 12bea9afb97496754748a9bf4128dbf1ed33b07f /games/pig/pig.6 | |
parent | 6945de87296246a208d4d8aa2a730df481731007 (diff) |
1) Use xcalloc() instead of xmalloc() to check for potential overflow.
(Feedback from both mmcc@ and djm@)
2) move set_size just before the for loop. (suggested by djm@)
OK djm@
Diffstat (limited to 'games/pig/pig.6')
0 files changed, 0 insertions, 0 deletions