Re: [PATCH 2/2] tty: wipe buffer if not echoing data

2018-10-02 Thread Milan Broz
On 02/10/2018 19:17, Greg Kroah-Hartman wrote: > From: Greg KH > > If we are not echoing the data to userspace, then perhaps it is a > "secret" so we should wipe it once we are done with it. Just to explain our test case for cryptsetup, where aszlig initially reported it: cryptsetup reads a pa

[PATCH 2/2] tty: wipe buffer if not echoing data

2018-10-02 Thread Greg Kroah-Hartman
From: Greg KH If we are not echoing the data to userspace, then perhaps it is a "secret" so we should wipe it once we are done with it. This mirrors the logic that the audit code has. Reported-by: aszlig Tested-by: Milan Broz Tested-by: aszlig Cc: Willy Tarreau Signed-off-by: Greg Kroah-Har