aboutsummaryrefslogtreecommitdiffstats
path: root/abs.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--abs.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/abs.c b/abs.c
index ebfcf14..71d73b5 100644
--- a/abs.c
+++ b/abs.c
@@ -10,6 +10,7 @@ liberror_abs(int i)
#else
if (i != INT_MIN)
return abs(i);
+ liberror_save_backtrace(NULL);
liberror_set_error_errno("The absolute value of largest negative integer "
"cannot be represented as a signed integer",
"abs", EOVERFLOW);