Re: [PATCH 4.4 11/41] KEYS: fix writing past end of user-supplied buffer in keyring_read()

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

 



Ben Hutchings <ben.hutchings@xxxxxxxxxxxxxxx> wrote:

> > So do we really make it keep filling the buffer, even though that contradicts
> > the man page?
> 
> I don't think any application is likely to care about this.  The
> documentation should also be changed to say that if the buffer is too
> small, "data may or may not be copied to the buffer" or "the contents
> of the buffer are undefined".

Okay, let's go with that.

David



[Index of Archives]     [Linux Kernel]     [Kernel Development Newbies]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite Hiking]     [Linux Kernel]     [Linux SCSI]