NetBSD-Bugs archive

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

Re: kern/42175

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

From: Antti Kantee <>
Subject: Re: kern/42175
Date: Thu, 15 Oct 2009 00:09:34 +0300

 a quick dip into the code:
         int wx = (SMB_CAPS(SSTOVC(ssp)) & SMB_CAP_LARGE_WRITEX);
         if (wx)
             error = smb_smb_writex(ssp, fid, &len, &resid, uio, scred);
             error = smb_smb_write(ssp, fid, &len, &resid, uio, scred);
 and write contains:
         /* Cannot write at/beyond 4G */
         if (uio->uio_offset >= (1LL << 32))
                 return (EFBIG);
 So either the check is wrong (there's SMB_CAP_LARGE_FILES too), or it's
 not getting detected properly.  Either way, should only be a minute or
 two of debugging (with rump_smbfs, of course ;) or specreading.

Home | Main Index | Thread Index | Old Index