rawtherapee-cli (5.1) crashing with -t option. Fixes #3891
This commit is contained in:
@@ -425,7 +425,7 @@ int processLineParams( int argc, char **argv )
|
||||
|
||||
case 't':
|
||||
outputType = "tif";
|
||||
compression = ((currParam.at(2) != 'z') ? 0 : 1);
|
||||
compression = ((currParam.size() < 3 || currParam.at(2) != 'z') ? 0 : 1);
|
||||
break;
|
||||
|
||||
case 'n':
|
||||
|
Reference in New Issue
Block a user