NetBSD-Bugs archive

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

Re: PR/38391 CVS commit: src/sys/kern



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

From: Izumi Tsutsui <tsutsui%ceres.dti.ne.jp@localhost>
To: gnats-bugs%NetBSD.org@localhost
Cc: kern-bug-people%NetBSD.org@localhost, gnats-admin%NetBSD.org@localhost, 
mjf%NetBSD.org@localhost,
        netbsd-bugs%NetBSD.org@localhost, mk%kilbi.de@localhost, 
tsutsui%ceres.dti.ne.jp@localhost
Subject: Re: PR/38391 CVS commit: src/sys/kern
Date: Sun, 20 Apr 2008 09:40:09 +0900

 >  Modified Files:
 >      src/sys/kern: uipc_usrreq.c
 >  
 >  Log Message:
 >  If cm->cmsg_len is not valid for unp_internalize do not use it to work out
 >  where the data is in unp_scan.
 >  
 >  Fixes PR/38391
 
 Yes, kernel no longer crashes and sshd (without fix in PR/38396)
 fails (properly?):
 
 >> sshd[491]: error: mm_send_fd: sendmsg(7): Invalid argument
 >> sshd[491]: fatal: mm_answer_pty: send fds failed
 >> sshd[491]: error: close(s->ptymaster/0): Bad file descriptor
 >> sshd[554]: error: mm_receive_fd: recvmsg: expected received 1 got 0
 >> sshd[554]: fatal: mm_pty_allocate: receive fds failed
 
 Should also this be pulled up to netbsd-4?
 ---
 Izumi Tsutsui
 


Home | Main Index | Thread Index | Old Index