#2995 Crash when pasting from clipboard

Branch_+_Trunk
closed-fixed
nobody
GUI (476)
5
2010-11-20
2010-11-15
No

WinMerge crashed on paste from clipboard when the clipboard contained an odd number of bytes (although the content should be wide characters). Then a buffer that is too small got allocated and CString::ReleaseBuffer() failed.

Discussion

  • Lars Wittenburg

    Lars Wittenburg - 2010-11-15

    fixed a glitch in CCrystalTextView:: GetFromClipboard ()

     
  • Kimmo Varis

    Kimmo Varis - 2010-11-20

    Good catch and thanks for the patch! Looks good.

     
  • Tim Gerundt

    Tim Gerundt - 2010-11-20

    Committed to SVN:

    * In Revision 7434 (Trunk)
    * In Revision 7435 (Branch R2_14)

    Thank you very much for the patch!

     
  • Tim Gerundt

    Tim Gerundt - 2010-11-20
    • milestone: --> Branch_+_Trunk
    • status: open --> closed-fixed
     

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks