security-discuss
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Security-discuss] handling integer overflows


From: Nikos Mavrogiannopoulos
Subject: [Security-discuss] handling integer overflows
Date: Sun, 01 Apr 2012 07:54:36 +0200
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.24) Gecko/20111114 Icedove/3.1.16

Hello,
 I was wondering on how other gnu programs handle integer overflows.
I've recently modified libtasn1 to detect those, but it seems
that a portable overflow check is cumbersome to use and inefficient
(requires an additional division to perform a multiplication). Have you
seen different/simpler approaches to this issue?

[0].
http://git.savannah.gnu.org/gitweb/?p=libtasn1.git;a=commitdiff;h=3873c6a49122e3f15901646e072938557acd3f8e

regards,
Nikos



reply via email to

[Prev in Thread] Current Thread [Next in Thread]