notepad-plus-plus-legacy/PowerEditor
milipili d09947d22d Scintilla: Buffer: fixed invalid read via strlen when loading a file
When loading a file via `FileManager::loadFileData`, a fixed-length buffer
is filled via `fread`. Then, in some cases, a conversion is done with the help
of `Utf8_16_Read`. However, the method `Utf8_16_Read::convert` performs a call
to `strlen` on this buffer. This is obviously wrong: `\0` char should be
accepted (even if a bit strange) and the buffer is not zero-terminated.

The changes merely consist in adding an additional parameter `length` to
not have to guess the size of the buffer.
2015-05-30 21:28:51 +02:00
..
bin Update gitIgnore file. 2015-05-23 18:57:06 +02:00
gcc Moved PowerEditor in trunk remotely 2009-04-24 23:34:47 +00:00
installer [RELEASE] Notepad++ 6.7.8.2 release 2015-05-23 14:14:33 +02:00
misc [RELEASE] Notepad++ 5.9 release 2011-03-31 00:14:18 +00:00
scintilla.original.forUpdating [UPDATE] Update Scintilla to 3.3.4 2013-08-28 00:44:27 +00:00
src Scintilla: Buffer: fixed invalid read via strlen when loading a file 2015-05-30 21:28:51 +02:00
visual.net Merge pull request #120 from andreas-jonsson/tempfix_corruption 2015-05-30 18:00:16 +02:00