Openwall GNU/*/Linux - a small security-enhanced Linux distro for servers
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Date: Fri, 6 Jul 2012 10:02:35 +0200
From: Frank Dittrich <frank_dittrich@...mail.com>
To: john-dev@...ts.openwall.com
Subject: KRB4: fix memset in afs_cmu_StringToKey()

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.

Frank

View attachment "0001-KRB4-fix-memset-in-afs_cmu_StringToKey.patch" of type "text/x-patch" (816 bytes)

Powered by blists - more mailing lists

Your e-mail address:

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