Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date: Tue, 4 Oct 2016 07:23:55 +0000
From: "Reshetova, Elena" <elena.reshetova@...el.com>
To: David Windsor <dwindsor@...il.com>, Kees Cook <keescook@...omium.org>
CC: "kernel-hardening@...ts.openwall.com"
	<kernel-hardening@...ts.openwall.com>, Hans Liljestrand <ishkamiel@...il.com>
Subject: RE: [RFC PATCH 01/13] Add architecture independent hardened atomic
 base

>I start to believe that we have a mismatch of terms here. 
>Strictly speaking underflow is not defined for non-floating point numbers, so since we are dealing here with ints and longs, when both of them approach zero and then wrap around, it is treated as overflow (just in a different direction than when it approaches LONG_MAX or LONG_MIN).  

Correction: " when both of them approach INT_MIN and LONG_MIN (I am constantly making this mistake when explaining this, my brain doesn't like signed integers) and then wrap around ".






Powered by blists - more mailing lists

Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.