1
0
Fork 0
mirror of https://github.com/DarkMatterCore/nxdumptool.git synced 2024-10-30 15:31:46 +00:00
nxdumptool/source/core
Pablo Curiel 215b677f02 keys: use __getline() to parse keys file.
* keysGetKeyAndValueFromFile() is now thread-safe -- may be useful for people reusing code from nxdumptool. The dynamic buffer allocated by __getline() must be freed by the caller. Furthermore, this fixes an out-of-bounds issue while writing data to the static array that was being used with fgets().
* Empty lines are now considered failures.
* keysGetKeyAndValueFromFile() now validates the value string and converts it to lowercase as well.
* Adjusted the example regex in the description for keysGetKeyAndValueFromFile() to accurately match what the function actually does.
* Added helper macros to keysReadKeysFromFile().
2022-04-18 23:38:18 +02:00
..
aes.c Update copyright year. 2022-03-17 13:58:40 +01:00
bfttf.c Update copyright year. 2022-03-17 13:58:40 +01:00
bktr.c nca: SparseInfo support (part 1). 2022-03-21 02:49:54 +01:00
cert.c Update copyright year. 2022-03-17 13:58:40 +01:00
cnmt.c More changes. 2022-03-18 17:48:16 +01:00
config.c Update copyright year. 2022-03-17 13:58:40 +01:00
es.c Update copyright year. 2022-03-17 13:58:40 +01:00
fs_ext.c Update copyright year. 2022-03-17 13:58:40 +01:00
gamecard.c gamecard: remove references to boot partition. 2022-03-18 20:23:11 +01:00
hfs.c Update copyright year. 2022-03-17 13:58:40 +01:00
http.c Update copyright year. 2022-03-17 13:58:40 +01:00
keys.c keys: use __getline() to parse keys file. 2022-04-18 23:38:18 +02:00
legal_info.c Update copyright year. 2022-03-17 13:58:40 +01:00
lz4.c Small code refactor (part 2). 2021-05-18 08:32:43 -04:00
mem.c Update copyright year. 2022-03-17 13:58:40 +01:00
nacp.c More changes. 2022-03-18 17:48:16 +01:00
nca.c nca: SparseInfo support (part 2). 2022-03-21 03:19:39 +01:00
npdm.c Update copyright year. 2022-03-17 13:58:40 +01:00
nso.c Update copyright year. 2022-03-17 13:58:40 +01:00
nxdt_bfsar.c Update copyright year. 2022-03-17 13:58:40 +01:00
nxdt_json.c Update copyright year. 2022-03-17 13:58:40 +01:00
nxdt_log.c Update copyright year. 2022-03-17 13:58:40 +01:00
nxdt_utils.c More changes. 2022-03-18 17:48:16 +01:00
pfs.c nca: SparseInfo support (part 2). 2022-03-21 03:19:39 +01:00
program_info.c More changes. 2022-03-18 17:48:16 +01:00
romfs.c nca: SparseInfo support (part 2). 2022-03-21 03:19:39 +01:00
rsa.c Update copyright year. 2022-03-17 13:58:40 +01:00
save.c Update copyright year. 2022-03-17 13:58:40 +01:00
services.c Update copyright year. 2022-03-17 13:58:40 +01:00
tik.c Update copyright year. 2022-03-17 13:58:40 +01:00
title.c HOS 14.0.0 shenanigans. 2022-03-22 02:20:09 +01:00
ums.c Update copyright year. 2022-03-17 13:58:40 +01:00
usb.c Update copyright year. 2022-03-17 13:58:40 +01:00