libx52/libx52util
nirenjan 2378ba7dc4 fix: Fix boundary check error in libx52util
Prior to this change, if the input string terminates exactly when `len`
characters have been output, the libx52util_convert_utf8_string function
returns an error of `-E2BIG`, even though the buffer is sufficiently
large. Because the output buffer is not expected to be NUL terminated,
this additional character can be safely placed in the output buffer
without overrun.

This change checks for a non-NUL character when the index matches or
exceeds the output buffer length, and only then will it return -E2BIG.
2026-03-08 20:30:03 -07:00
..
Makefile.am Fix Makefile to build on alternative make implementations 2021-10-12 12:10:36 -07:00
libx52util.h Move libx52util to top level 2021-07-29 21:47:07 -07:00
libx52util.pc.in Fix Cflags and add libx52util.pc 2021-08-03 12:53:26 -07:00
x52_char_map.cfg Move libx52util to top level 2021-07-29 21:47:07 -07:00
x52_char_map.h Move libx52util to top level 2021-07-29 21:47:07 -07:00
x52_char_map_gen.py Move libx52util to top level 2021-07-29 21:47:07 -07:00
x52_char_map_lookup.c fix: Fix boundary check error in libx52util 2026-03-08 20:30:03 -07:00