crypto/des/ofb64enc.c: Uninitialized variable: d
Closed, ResolvedPublic

Description

in void DES_ofb64_encrypt(), line 84, 85 and 96 (spotted by cppcheck) :

l2c(v0,dp);<--- Uninitialized variable: d
l2c(v1,dp);<--- Uninitialized variable: d
while (l--)
        {
        if (n == 0)
                {
                DES_encrypt1(ti,schedule,DES_ENCRYPT);
                dp=d;
                t=ti[0]; l2c(t,dp);
                t=ti[1]; l2c(t,dp);
                save++;
                }
        *(out++)= *(in++)^d[n];<--- Uninitialized variable: d
        n=(n+1)&0x07;
        }
toralf added a subscriber: toralf.
werner added a subscriber: werner.Jul 3 2014, 11:30 AM

That is OpenSSL and not GnuPG.

werner closed this task as Resolved.
werner claimed this task.
toralf reopened this task as Open.Jul 3 2014, 5:34 PM

On 07/03/2014 11:30 AM, Werner Koch via BTS wrote:

Werner Koch <wk@gnupg.org> added the comment:

That is OpenSSL and not GnuPG.


category: -> trash
status: unread -> resolved
topic: +mistaken


g10 Code's BTS <gnupg@bugs.g10code.com>
<T1663>


sry for using the wrong tool/link- my fault

werner closed this task as Resolved.Jul 4 2014, 1:20 PM