lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <m3eienu3ex.fsf@hase.home>
Date:	Wed, 28 Jul 2010 15:44:22 +0200
From:	Andreas Schwab <schwab@...hat.com>
To:	michalj@...il.com
Cc:	linux-kernel@...r.kernel.org
Subject: Re: [PATCH] Make sure abs() always works on a signed argument

Michal Januszewski <michalj@...il.com> writes:

> To fix this problem, explicitly cast the argument of abs() to signed, so
> that it gets properly expanded to long in case the original argument was
> an int.

This will of course re-introduce the truncation, and effectively reverts
a49c59c0.

Andreas.

-- 
Andreas Schwab, schwab@...hat.com
GPG Key fingerprint = D4E8 DBE3 3813 BB5D FA84  5EC7 45C6 250E 6F00 984E
"And now for something completely different."
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ