The following reply was made to PR bin/158431; it has been noted by GNATS.

From: [email protected] (dfilter service)
To: [email protected]
Cc:  
Subject: Re: bin/158431: commit references a PR
Date: Sat, 20 Aug 2011 11:47:21 +0000 (UTC)

 Author: avg
 Date: Sat Aug 20 11:47:11 2011
 New Revision: 225027
 URL: http://svn.freebsd.org/changeset/base/225027
 
 Log:
   MFC r224632: fix a serious bug in libproc's proc_attach
   
   PR:          bin/158431
 
 Modified:
   stable/8/lib/libproc/proc_create.c
 Directory Properties:
   stable/8/lib/libproc/   (props changed)
 
 Modified: stable/8/lib/libproc/proc_create.c
 ==============================================================================
 --- stable/8/lib/libproc/proc_create.c Sat Aug 20 11:44:48 2011        
(r225026)
 +++ stable/8/lib/libproc/proc_create.c Sat Aug 20 11:47:11 2011        
(r225027)
 @@ -79,12 +79,11 @@ proc_attach(pid_t pid, int flags, struct
        else
                phdl->status = PS_STOP;
  
 +out:
        if (error)
                proc_free(phdl);
        else
                *pphdl = phdl;
 -out:
 -      proc_free(phdl);
        return (error);
  }
  
 _______________________________________________
 [email protected] mailing list
 http://lists.freebsd.org/mailman/listinfo/svn-src-all
 To unsubscribe, send any mail to "[email protected]"
 
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "[email protected]"

Reply via email to