https://bugs.kde.org/show_bug.cgi?id=275442

kdeb...@toeai.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |kdeb...@toeai.com

--- Comment #6 from kdeb...@toeai.com ---
The biggest problem I had with this pasting behavior is that last time I
checked, there were no limits on the password field.  Thus, if you have a few
hundred megabytes on your clipboard and you paste it in a few times, your
system is going to run out of memory.  Then what?  Will it ever recover from
scratching around on the hard drive to free something up?  Maybe.  Will OOM
kill the right process?  Not necessarily.  You might lose data.  You might lock
up the system.

(Obviously the same problem exists without the paste behavior, but it would
take something like laying something on the keyboard and walking away for a
very long time, whereas this can be done in seconds.)

If I were building something like this, I'd do these things:
1) Sane limit to the password field, e.g. 64 KiB, preallocated (preferably with
tone and visual indicator if full/overflow).
2) No pasting.
3) Keyboard repeat disabled.
4) Clear the field and restart any enabled screensaver after reasonable
timeout.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to