NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

PR/40750 CVS commit: src/sys/kern

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

From: Mindaugas Rasiukevicius <>
Subject: PR/40750 CVS commit: src/sys/kern
Date: Sat, 19 Dec 2009 18:25:55 +0000

 Module Name:   src
 Committed By:  rmind
 Date:          Sat Dec 19 18:25:55 UTC 2009
 Modified Files:
        src/sys/kern: sys_sig.c
 Log Message:
 sigtimedwait: fix a memory leak (which happens since newlock2 times).
 Allocate ksiginfo on stack since it is safe and sigget() assumes that it is
 not allocated from pool (pending signals via sigput()/sigget() "mill" should
 be dynamically allocated, however).  Might be useful to revisit later.
 Likely the cause of PR/40750 and indirect cause of PR/39283.
 To generate a diff of this commit:
 cvs rdiff -u -r1.23 -r1.24 src/sys/kern/sys_sig.c
 Please note that diffs are not public domain; they are subject to the
 copyright notices on the relevant files.

Home | Main Index | Thread Index | Old Index