From 3487bd353b4448bbdc9ece6d62fc4c4f4fd6ae4a Mon Sep 17 00:00:00 2001 From: Rob Landley Date: Mon, 6 Jul 2015 19:41:57 -0500 Subject: Avoid integer overflow with insane input data. --- toys/posix/sort.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'toys/posix/sort.c') diff --git a/toys/posix/sort.c b/toys/posix/sort.c index 49e68c74..ed7c36ce 100644 --- a/toys/posix/sort.c +++ b/toys/posix/sort.c @@ -384,7 +384,7 @@ void sort_main(void) // Output result for (idx = 0; idx