Menu

#1024 [2.x] Undo buffer for secure edit controls

open
nobody
None
5
2008-03-16
2008-03-07
No

Editing Password or Repeat entry.
Using Ctrl-Z launches unhandled exception.
Index was out of range.
Continue works well, quit exits Keepass immediately

Discussion

  • Asko Rupponen

    Asko Rupponen - 2008-03-07
    • summary: Ctrl-Z fires exception --> [2.04] Ctrl-Z fires exception
     
  • Asko Rupponen

    Asko Rupponen - 2008-03-07
    • summary: [2.04] Ctrl-Z fires exception --> [2.04] Ctrl-Z fires an exception
     
  • Dominik Reichl

    Dominik Reichl - 2008-03-15

    Logged In: YES
    user_id=853915
    Originator: NO

    I cannot reproduce this problem. Please post detailed steps how to reproduce it.

    * What exactly are you doing after opening the entry editing window?
    * What is the initial content of the edit field?
    * What are you entering?
    * When are you pressing Ctrl-Z?
    * Are you showing or hiding the contents of the field (asterisks / dots)?
    * Which .NET framework do you have installed, or are you using Mono?

    Thanks and best regards
    Dominik

     
  • Dominik Reichl

    Dominik Reichl - 2008-03-15
    • status: open --> pending
     
  • Asko Rupponen

    Asko Rupponen - 2008-03-16

    Step by step reproduction

     
  • Asko Rupponen

    Asko Rupponen - 2008-03-16

    Logged In: YES
    user_id=827715
    Originator: YES

    Hello Dominik,
    I hope that, this attachment helps.
    Best Regards
    Asko

    File Added: KeePass.zip

     
  • Asko Rupponen

    Asko Rupponen - 2008-03-16
    • status: pending --> open
     
  • Dominik Reichl

    Dominik Reichl - 2008-03-16
    • summary: [2.04] Ctrl-Z fires an exception --> [2.x] Undo buffer for secure edit controls
     
  • Dominik Reichl

    Dominik Reichl - 2008-03-16

    Logged In: YES
    user_id=853915
    Originator: NO

    I was now able to reproduce the problem.

    The good news: KeePass 2.05 will not throw an exception when pressing Ctrl-Z.
    The bad news: Making Ctrl-Z work correctly requires a custom implementation of an undo buffer for secure edit controls. KeePass 2.04 currently does not have such a thing (in 2.05 the undo functionality will be disabled). I'm therefore moving this report to the open feature requests.

    Thanks and best regards
    Dominik

     

Log in to post a comment.