Menu

#95 Crash in copy to clip board using new plugin and old NPP

1.14
open
nobody
None
Bug
5
2023-02-27
2023-02-04
Anonymous
No

in case of using 64bit version plugin 1.13 and 1.14 together with Npp version 8.2.1 or older, the result window copy to clip board function cause a crash of NPP.
thanks to MFM

Discussion

  • Mattes H.

    Mattes H. - 2023-02-05

    The crash is caused by the binary incompatible change in the plugin API SCI_GETSTYLEDTEXT of NPP.
    NPP diff 8.2.1 vs 8.3

    If new versions of plugins using this API call are getting used with older 64-bit versions of NPP than 8.3 than this call can only end in a segfault
    ScintillaSearchView.cpp#l270 (sourceforge.net)

    I'll check if I can add a detection of the version and use correct bit size based on it.

    Regards, Mattes

     
  • Mattes H.

    Mattes H. - 2023-02-27

    Hi All,
    I added an intermediate version that tests on old NPP versions and avoids a crash by not using the clipboard function.
    https://sourceforge.net/projects/analyseplugin/files/binaries/v01.14-R51/
    This is intermediate as I plan to support also this version combination but could not finish the work last weekend.
    Further updates will come soon...
    Mattes

     

Anonymous
Anonymous

Add attachments
Cancel





MongoDB Logo MongoDB