Queue template parsing OOB access fix by Flössie
https://discuss.pixls.us/t/change-of-queue-output-directory-not-taken-fully-into-account-if-no-f/11975/4
This commit is contained in:
@@ -860,9 +860,9 @@ Glib::ustring BatchQueue::calcAutoFileNameBase (const Glib::ustring& origFileNam
|
||||
Glib::ustring path = "";
|
||||
|
||||
if (options.saveUsePathTemplate) {
|
||||
int ix = 0;
|
||||
unsigned int ix = 0;
|
||||
|
||||
while (options.savePathTemplate[ix] != 0) {
|
||||
while (ix < options.savePathTemplate.size()) {
|
||||
if (options.savePathTemplate[ix] == '%') {
|
||||
ix++;
|
||||
|
||||
|
Reference in New Issue
Block a user