Skip Menu |

This queue is for tickets about the Crypt-ECB-1.1 CPAN distribution.

Report information
The Basics
Id: 8758
Status: resolved
Priority: 0/
Queue: Crypt-ECB-1.1

People
Owner: Nobody in particular
Requestors: brs [...] fsproduce.com
Cc:
AdminCc:

Bug Information
Severity: Important
Broken in: 2
Fixed in: (no value)



Subject: Crypt::ECB doesn't handle certain data blocks correctly
Crypt::ECB does not correctly handle data blocks that consist of a single '0'. To reproduce the problem, encrypt the following data then decrypt the result. Plain text: ILlW1nr30 Key: pb25YTt7d5b55711fd50bffcec4058d3e6c86bfc4c796bec2249b447 Padding: AUTO Cipher: Blowfish (I don't think it matters though) Fix: Change line 277 from: return '' unless $data; to return '' unless length($data) > 0;
Problem fixed. New version 1.2 uploaded to CPAN.