shithub: aacdec

Download patch

ref: 3ba088193fc0e9b022957fb348cfdfe1d60daab7
parent: 53af82c34eb3da64d56ac571518ed7cc082ae0e0
author: Sigrid Solveig Haflínudóttir <[email protected]>
date: Thu Jul 15 05:32:46 EDT 2021

forbid extra arguments

--- a/frontend/aacdec.c
+++ b/frontend/aacdec.c
@@ -203,6 +203,9 @@
 		usage();
 	}ARGEND
 
+	if(argc != 0)
+		usage();
+
 	Binit(&stdin, 0, OREAD);
 	Binit(&stdout, 1, OWRITE);