afl-as.c, fix compiler warnings (overflowing is UB)
MODIFY
src/afl-as.c
src/afl-as.c
#include <stdlib.h>
#include <string.h>
#include <time.h>
+#include <limits.h>
#include <ctype.h>
#include <fcntl.h>
@@ -131,7 +132,7 @@ static void edit_params(int argc, char **argv) {
if (!tmp_dir) { tmp_dir = "/tmp"; }
as_params = ck_alloc((argc + 32) * sizeof(u8 *));
- if (unlikely((argc + 32) < argc || !as_params)) {
+ if (unlikely((INT_MAX - 32) < argc || !as_params)) {
FATAL("Too many parameters passed to as");

afl-as.c, fix compiler warnings (overflowing is UB)