Commit Graph
6 Commits
Author SHA1 Message Date
Valdis Vitolins b762eac37f Fix test because of changes in transliteration 2017-11-20 22:26:35 +02:00
Valdis Vitolins a2743a0264 Test updated due to phonetic changes in Latvian pronunciation 2017-11-12 22:38:03 +02:00
Reece H. Dunn 7a33e60234 Reapply the emoji fix from commit 119c200e, only changing the code causing the issue. 2017-11-04 08:31:13 +00:00
Reece H. Dunn 6043d35c72 Add phoneme output tests. 2017-11-04 08:26:48 +00:00
Reece H. Dunn 50a2d8e291 Revert "Use strcpy instead of memcpy+strlen."
This reverts commit 119c200e00.
2017-11-04 08:14:59 +00:00
Reece H. Dunn 119c200e00 Use strcpy instead of memcpy+strlen.
This replaces uses of:

	memcpy(dst, src, strlen(src))

with:

	strcpy(dst, src)

This fixes issues with reading past the end of the copied buffer
(e.g. when processing word-based replacements for emoji characters)
by ensuring that the destination buffer is null terminated.

Reported by Michael Curran <mick@nvaccess.org>
2017-10-01 08:50:56 +01:00