Changeset 88086db for lib


Ignore:
Timestamp:
2006-06-25T17:23:27Z (13 years ago)
Author:
Wilmer van der Gaast <wilmer@…>
Branches:
master
Children:
6ee9d2d
Parents:
6e1fed7
Message:

Added versioning information to the XML-file (convenient for later format
changes), got rid of confusing "Password successfully changed" message
when the user uses the identify-command and protected rc4_decode() against
short inputs.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • lib/rc4.c

    r6e1fed7 r88086db  
    158158        clear_len = crypt_len - RC4_IV_LEN;
    159159       
     160        if( clear_len < 0 )
     161        {
     162                *clear = g_strdup( "" );
     163                return 0;
     164        }
     165       
    160166        /* Prepare buffers and the key + IV */
    161167        *clear = g_malloc( clear_len + 1 );
Note: See TracChangeset for help on using the changeset viewer.