Openwall GNU/*/Linux - a small security-enhanced Linux distro for servers
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date: Fri, 06 Jul 2012 11:56:56 +0200
From: magnum <john.magnum@...hmail.com>
To: john-dev@...ts.openwall.com
Subject: Re: KRB4: fix memset in afs_cmu_StringToKey()

On 2012-07-06 10:02, Frank Dittrich wrote:
> clang 3.0 correctly identified a problem here and issued a warning
> [-Wsizeof-pointer-memaccess]
> 
> On linux-x86 (32bit), sizeof(key) is just 4, while sizeof(*key) is 8.
> 
> Attached patch fixes the problem.

Are you sure about this? How about sizeof(DES_cblock), what size is that?

magnum

Powered by blists - more mailing lists

Your e-mail address:

Powered by Openwall GNU/*/Linux - Powered by OpenVZ