NetBSD-Bugs archive

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

Re: kern/45129: Write handling in puffs(4) broken



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

From: Matthias Scheler <tron%zhadum.org.uk@localhost>
To: gnats-bugs%NetBSD.org@localhost
Cc: 
Subject: Re: kern/45129: Write handling in puffs(4) broken
Date: Sat, 23 Jul 2011 20:55:28 +0100

 On Sat, Jul 09, 2011 at 11:30:01PM +0000, gnats-admin%netbsd.org@localhost 
wrote:
 > Thank you very much for your problem report.
 > It has the internal identification `kern/45129'.
 > The individual assigned to look at your
 > report is: kern-bug-people. 
 > 
 > >Category:       kern
 > >Responsible:    kern-bug-people
 > >Synopsis:       Write handling in puffs(4) broken
 > >Arrival-Date:   Sat Jul 09 23:30:00 +0000 2011
 
 I've tracked the corruption down to this location in the code in line 817
 in function puffsop_msg() in "src/sys/fs/puffs/puffs_msgif.c":
 
                        memcpy(park->park_preq, preq, pth->pth_framelen);
 
 This line is probably supposed to copy the request back into the caller's
 structure after handling it. But for some reason the passed in copy
 is incomplete or corrupt.
 
        Kind regards
 
 -- 
 Matthias Scheler                                  http://zhadum.org.uk/
 


Home | Main Index | Thread Index | Old Index