[Github-comments] [geany/geany] Crash after update to Scintilla 5.1.5 (Issue #3095)

Robert Di Pardo notifications at xxxxx
Tue Jan 11 12:20:44 UTC 2022


@techee,
You may also want to leave a comment on the mailing list thread where the revised API was announced: 

> There have been some inconsistencies in the way that string returning APIs were handled by Scintilla, particularly SCI_GETTEXT, SCI_GETSELTEXT, and SCI_GETCURLINE. Most APIs return the length of the string excluding any NUL byte terminator but the mentioned APIs returned one more, including the NUL.
>
> It is likely best to change these 3 APIs to be consistent with others. However, __*this could break applications that will no longer allocate enough memory to include the NUL terminator*__. Downstream projects should check their use of these APIs.

<https://groups.google.com/g/scintilla-interest/c/DoRE5t2vihE> (emphasis added)

-- 
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/issues/3095#issuecomment-1009911865
You are receiving this because you are subscribed to this thread.

Message ID: <geany/geany/issues/3095/1009911865 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.geany.org/pipermail/github-comments/attachments/20220111/9698d36f/attachment.htm>


More information about the Github-comments mailing list