[Bug 16808] Password Safe crashes with page fault when renaming entries

WineHQ Bugzilla wine-bugs at winehq.org
Sat Nov 9 02:38:09 CST 2019


https://bugs.winehq.org/show_bug.cgi?id=16808

--- Comment #17 from Damjan Jovanovic <damjan.jov at gmail.com> ---
Created attachment 65618
  --> https://bugs.winehq.org/attachment.cgi?id=65618
treeview callback logging

Crash still happens on latest Git.

Code for the Password Safe version reported can be retrieved with:

git clone https://git.code.sf.net/p/passwordsafe/git-code
git checkout svn-tag-V3_15_1

By examining the code for the rename functions, I narrowed it down to the file
PWTreeCtrl.cpp. There we see this:

BEGIN_MESSAGE_MAP(CPWTreeCtrl, CTreeCtrl)
  //{{AFX_MSG_MAP(CPWTreeCtrl)
  ON_NOTIFY_REFLECT(TVN_BEGINLABELEDIT, OnBeginLabelEdit)
  ON_NOTIFY_REFLECT(TVN_ENDLABELEDIT, OnEndLabelEdit)
  ON_NOTIFY_REFLECT(TVN_BEGINDRAG, OnBeginDrag)
  ON_NOTIFY_REFLECT(TVN_BEGINRDRAG, OnBeginDrag)
  ON_NOTIFY_REFLECT(TVN_ITEMEXPANDED, OnExpandCollapse)
  ON_NOTIFY_REFLECT(TVN_SELCHANGED, OnTreeItemSelected)
  ON_MESSAGE(WM_MOUSELEAVE, OnMouseLeave)
  ON_WM_DESTROY()
  ON_WM_TIMER()
  ON_WM_MOUSEMOVE()
  ON_WM_ERASEBKGND()
  //}}AFX_MSG_MAP
END_MESSAGE_MAP()

The attached patch logs those callbacks from Wine into the application.

-- 
Do not reply to this email, post in Bugzilla using the
above URL to reply.
You are receiving this mail because:
You are watching all bug changes.



More information about the wine-bugs mailing list