Page MenuHome GnuPG

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;
        }

Event Timeline

werner claimed this task.
werner added projects: Trash, Mistaken.

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