diff --git a/src/config.c b/src/config.c index 9bae27c..3f713d3 100644 --- a/src/config.c +++ b/src/config.c @@ -196,7 +196,7 @@ static int add_output_mapping(chroma_config_t *config, const char *output_name, return CHROMA_ERROR_MEMORY; } - // Validate string lengths to prevent buffer overflow + // XXX: Validate string lengths to prevent buffer overflow size_t output_len = strlen(output_name); size_t path_len = strlen(image_path); @@ -419,9 +419,9 @@ static int parse_config_line(chroma_config_t *config, char *line, return CHROMA_OK; } - // Check for extended output configuration with properties - // Format: output.DP-1.scale = fill - // Format: output.DP-1.filter = linear + // Check for extended output configuration with properties. Format: + // output.DP-1.scale = fill + // output.DP-1.filter = linear char *dot = strchr(output_name, '.'); if (dot) { // This is an output property (scale or filter)