shithub: aacdec

Download patch

ref: 3ba088193fc0e9b022957fb348cfdfe1d60daab7
parent: 53af82c34eb3da64d56ac571518ed7cc082ae0e0
author: Sigrid Solveig Haflínudóttir <ftrvxmtrx@gmail.com>
date: Thu Jul 15 05:32:46 EDT 2021

forbid extra arguments

--- a/frontend/aacdec.c	Thu Apr  8 07:51:25 2021
+++ b/frontend/aacdec.c	Thu Jul 15 05:32:46 2021
@@ -203,6 +203,9 @@
 		usage();
 	}ARGEND
 
+	if(argc != 0)
+		usage();
+
 	Binit(&stdin, 0, OREAD);
 	Binit(&stdout, 1, OWRITE);