From 470f68ad689d1431ebb0e54508ef7a834f3dc995 Mon Sep 17 00:00:00 2001 From: Siavash Eliasi Date: Tue, 20 Feb 2018 17:36:54 +0330 Subject: [PATCH] Added missing assert. --- neonrvm.c | 1 + 1 file changed, 1 insertion(+) diff --git a/neonrvm.c b/neonrvm.c index bd1f971..0ec3986 100644 --- a/neonrvm.c +++ b/neonrvm.c @@ -61,6 +61,7 @@ extern lapack_int LAPACKE_dpotrs(int matrix_layout, char uplo, lapack_int n, lap NEONRVM_STATIC void* nextend(void* mem_addr, size_t count, size_t size, bool keep_content) { if ((0 == count) || (0 == size) || (count > SIZE_MAX / size)) { + assert(0); abort(); }