process_pipeline: replace sprintf with snprintf

to avoid potential buffer overflows
This commit is contained in:
Andrey Skvortsov
2025-05-28 01:06:52 +03:00
committed by Martijn Braam
parent f64782d9a5
commit 529e7841ab
3 changed files with 48 additions and 40 deletions

View File

@@ -37,7 +37,8 @@ struct mp_process_pipeline_state {
bool control_focus;
};
bool mp_process_find_processor(char *script, char *filename);
bool mp_process_find_processor(char *script, int size, char *filename);
void mp_process_find_all_processors(GtkListStore *store);
void mp_process_pipeline_start();