Files
squeekboard/eekboard
Piotr Tworek f86bbb09f8 Fix out of bounds memory read in get_keymap_from_resource.
The function reads resource content into a buffer whose size matches the
size of the file contents. This buffer does not have an extra byte that
would 0 terminate this string. This is by itself is not a problem.
Unfortunately the buffer is passed to g_utf8_make_valid function with
size argument specified as -1 which means the buffer is supposed to be
NULL terminated. The end result is g_utf8_make_valid will read at least
1 byte past "contents" buffer size.

Fix this by specifying buffer size when calling g_utf8_make_valid.
2019-07-24 17:08:19 +02:00
..
2011-08-31 16:22:42 +09:00
2019-07-17 19:50:53 +02:00
2019-07-17 19:50:53 +02:00
2019-07-16 14:00:41 +02:00
2019-07-20 23:57:38 +02:00