git: agp - fix potential panic

Alex Hornung alexh at crater.dragonflybsd.org
Fri Feb 24 11:51:18 PST 2012


commit ad9779b7172033d90ee85e64e3ab9965e2ed205d
Author: Alex Hornung <ahornung at gmail.com>
Date:   Fri Feb 24 19:49:10 2012 +0000

    agp - fix potential panic
    
     * Fix a potential panic when close() is called on an agp device that
       hasn't been opened.
    
     * Check whether it's open (and has been busied) before trying to unbusy
       it.
    
    Reported-by: Pierre Abbat
    DragonFly-bug: http://bugs.dragonflybsd.org/issue2310

Summary of changes:
 sys/dev/agp/agp.c |    6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)

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


-- 
DragonFly BSD source repository





More information about the Commits mailing list