git: Always check the limits of array index variables before using them.

Sascha Wildner swildner at crater.dragonflybsd.org
Thu Jun 26 10:26:22 PDT 2014


commit e0b1d537f9cbe376acec34421ad8b0f7da996ea0
Author: Sascha Wildner <saw at online.de>
Date:   Thu Jun 26 19:24:43 2014 +0200

    Always check the limits of array index variables before using them.

Summary of changes:
 bin/ed/cbc.c                   | 4 ++--
 games/larn/display.c           | 5 ++---
 games/pig/pig.c                | 3 +--
 libexec/rtld-elf/libmap.c      | 4 ++--
 sbin/mount_devfs/mount_devfs.c | 2 +-
 usr.bin/mail/edit.c            | 3 +--
 6 files changed, 9 insertions(+), 12 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/e0b1d537f9cbe376acec34421ad8b0f7da996ea0


-- 
DragonFly BSD source repository


More information about the Commits mailing list