Description: Fix the fix for CVE-2022-37705
Author: pcahyna https://github.com/pcahyna

Index: amanda.git/client-src/runtar.c
===================================================================
--- amanda.git.orig/client-src/runtar.c	2023-03-05 00:10:46.916884175 +0000
+++ amanda.git/client-src/runtar.c	2023-03-05 00:15:52.189417756 +0000
@@ -191,9 +191,13 @@ main(
 		g_str_has_prefix(argv[i],"--newer") ||
 		g_str_has_prefix(argv[i],"--exclude-from") ||
 		g_str_has_prefix(argv[i],"--files-from")) {
-		good_option++;
-	    } else if (argv[i][0] != '-') {
-		/* argument values are accounted for here */
+		if (strchr(argv[i], '=')) {
+		    good_option++;
+		} else {
+		    /* Accept theses options with the following argument */
+		    good_option += 2;
+		}
+            } else if (argv[i][0] != '-') {
 		good_option++;
 	    }
 	}
