Bug 107943

Summary: Forget to unlock mutex-locks
Product: Base System Reporter: Beyond Luo <fedora>
Component: i386Assignee: freebsd-i386 (Nobody) <i386>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: Unspecified   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
file.diff none

Description Beyond Luo 2007-01-15 08:30:21 UTC
These two bugs, exiting with mutex-lock holded, are detected by a static
analyzer we are developing.
One of them are caused by GOTO statement.

Fix: Patch attached with submission follows:
Comment 1 dfilter service freebsd_committer freebsd_triage 2007-01-15 16:22:28 UTC
scottl      2007-01-15 16:22:20 UTC

  FreeBSD src repository

  Modified files:
    sys/dev/aac          aac_cam.c 
  Log:
  Add a missing mutex unlock to an error path.
  
  Submitted by: Yuxiang Luo
  PR: 107943
  
  Revision  Changes    Path
  1.26      +1 -0      src/sys/dev/aac/aac_cam.c
_______________________________________________
cvs-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
Comment 2 Mark Linimon freebsd_committer freebsd_triage 2007-02-13 01:01:11 UTC
State Changed
From-To: open->closed

Fix committed by scottl on 1/15/2007.  Thanks for the submission.
Comment 3 dfilter service freebsd_committer freebsd_triage 2007-08-22 15:46:38 UTC
emaste      2007-08-22 14:46:28 UTC

  FreeBSD src repository

  Modified files:        (Branch: RELENG_6)
    sys/dev/aac          aac_cam.c 
  Log:
  MFC aac_cam.c 1.26:
    Add a missing mutex unlock to an error path.
  
    Submitted by: Yuxiang Luo
    PR: 107943
  
  Revision  Changes    Path
  1.20.2.4  +1 -0      src/sys/dev/aac/aac_cam.c
_______________________________________________
cvs-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"