git: if_iwm - Fix off-by-one check in iwm_read_firmware().

Imre Vadasz ivadasz at crater.dragonflybsd.org
Mon Aug 29 13:19:44 PDT 2016


commit 7d74ebe9d9061ab29f9079c8681f48b5ac9cb5f7
Author: Imre Vadász <imre at vdsz.com>
Date:   Mon Aug 29 22:11:09 2016 +0200

    if_iwm - Fix off-by-one check in iwm_read_firmware().
    
    * Fixes a potential buffer overrun, which was reported by Coverty Scan
      in FreeBSD.

Summary of changes:
 sys/dev/netif/iwm/if_iwm.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/7d74ebe9d9061ab29f9079c8681f48b5ac9cb5f7


-- 
DragonFly BSD source repository



More information about the Commits mailing list