rockbox/firmware/common
William Wilgus f6c719d7ec replace strlcpy with strmemccpy
replace applicable calls to strlcpy with calls to strmemccpy
which null terminates on truncation

in theory the strmemccpy calls should be slightly faster since they
don't traverse the rest of the source string on truncation
but I seriously doubt there is too much of that going on in the code base

Change-Id: Ia0251514e36a6242bbf3f03c5e0df123aba60ed2
2022-11-14 23:56:16 -05:00
..
adler32.c crc32/adler32: add full copyright notice to source files 2021-07-31 01:30:39 +00:00
ap_int.c Add proper float formatting to vuprintf 2019-07-19 22:07:41 -04:00
config.c
crc32-rkw.c Add RKW firmware file format loader 2012-03-04 00:34:26 +01:00
crc32.c crc32/adler32: add full copyright notice to source files 2021-07-31 01:30:39 +00:00
diacritic.c ClipPlus BOOTLOADER DONT FIT! 2020-10-23 20:38:59 -04:00
dir.c [RESTORED!] Allow mounting of any directory as the root directory. 2022-03-03 18:58:07 -05:00
dircache.c replace strlcpy with strmemccpy 2022-11-14 23:56:16 -05:00
disk.c Multiboot Firmware Root Redirect - WIP 2022-03-03 22:08:28 -05:00
disk_cache.c Do some housekeeping with fat.h and SECTOR_SIZE 2017-03-12 22:05:44 -04:00
fdprintf.c Add a small 32-byte write buffer to fdprintf. 2017-11-28 09:01:17 -05:00
file.c rb_namespace add logf 2022-03-15 00:45:00 -04:00
file_internal.c rb_namespace add logf 2022-03-15 00:45:00 -04:00
fileobj_mgr.c [RESTORED!] Allow mounting of any directory as the root directory. 2022-03-03 18:58:07 -05:00
inflate.c inflate: Add helper for getting decompressed data size 2022-03-04 08:44:56 -05:00
linked_list.c linked list: add lld_insert_prev/next() 2022-10-16 16:10:24 +01:00
loader_strerror.c Move load_firmware() to separate file 2013-06-27 13:50:11 +02:00
multiboot.c multiboot: Refactor duplicated functions to a separate file 2022-03-11 10:58:20 -05:00
pathfuncs.c Add path_strip_last_volume 2022-04-01 11:40:02 -04:00
rb-loader.c multiboot: Allow searching in volume 0 for redirect file 2022-03-27 09:50:33 -04:00
rb_namespace.c rb_namespace add logf 2022-03-15 00:45:00 -04:00
strcasecmp.c Compile fix for mingw-w64 2011-12-04 21:07:06 +00:00
strcasestr.c
strlcat.c
strlcpy.c replace strlcpy with strmemccpy 2022-11-14 23:56:16 -05:00
strmemccpy.c replace strlcpy with strmemccpy 2022-11-14 23:56:16 -05:00
strnatcmp.c
strptokspn.c fix strptokspn, add strcspn, fix splash.c 2022-11-13 01:14:49 -05:00
structec.c Fix warning in firmware/common/structec.c 2015-02-24 16:27:16 -05:00
timefuncs.c timefuncs.c valid_time() should return false if tm == NULL and not try to deref 2021-07-20 23:25:31 +00:00
ucl_decompress.c Add standalone UCL decompressor 2021-05-12 10:35:20 +00:00
unicode.c Convert a number of allocations to use buflib pinning 2022-10-16 14:50:39 +01:00
version.c Prevent spurious recompiles on account of changed version. 2014-08-28 15:48:56 +02:00
vuprintf.c Document intentional fallthroughs + fix harmless unintended ones 2021-08-04 18:59:46 +00:00
zip.c move buflib_free invalid handle check to the function 2022-10-15 09:26:58 -04:00