1
0
Fork 0
mirror of https://github.com/DarkMatterCore/nxdumptool.git synced 2024-11-22 18:26:39 +00:00
nxdumptool/source
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
..
core keys: use __getline() to parse keys file. 2022-04-18 23:38:18 +02:00
fatfs Small code refactor (part 2). 2021-05-18 08:32:43 -04:00
about_tab.cpp Update copyright year. 2022-03-17 13:58:40 +01:00
error_frame.cpp Update copyright year. 2022-03-17 13:58:40 +01:00
exception_handler.cpp More changes. 2022-03-18 17:48:16 +01:00
gamecard_tab.cpp Update copyright year. 2022-03-17 13:58:40 +01:00
layered_error_frame.cpp Update copyright year. 2022-03-17 13:58:40 +01:00
main.cpp Update copyright year. 2022-03-17 13:58:40 +01:00
options_tab.cpp Update copyright year. 2022-03-17 13:58:40 +01:00
root_view.cpp Update copyright year. 2022-03-17 13:58:40 +01:00
tasks.cpp Update copyright year. 2022-03-17 13:58:40 +01:00
titles_tab.cpp Update copyright year. 2022-03-17 13:58:40 +01:00