Bug 457588
Summary: | mcrypt crashes if file to encrypt is 1 or 2 characters | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Niall Hallett <njhallett> |
Component: | mcrypt | Assignee: | Tom "spot" Callaway <tcallawa> |
Status: | CLOSED NEXTRELEASE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | low | Docs Contact: | |
Priority: | low | ||
Version: | 9 | ||
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2008-08-26 22:27:16 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Niall Hallett
2008-08-01 16:36:20 UTC
I'm having some difficulty reproducing this on rawhide. [spot@localhost devel]$ touch test [spot@localhost devel]$ echo a > test [spot@localhost devel]$ MALLOC_CHECK_=2 mcrypt test Enter the passphrase (maximum of 512 characters) Please use a combination of upper and lower case letters and numbers. Enter passphrase: Enter passphrase: File test was encrypted. [spot@localhost devel]$ rm -rf test [spot@localhost devel]$ MALLOC_CHECK_=2 mcrypt -d test.nc Enter passphrase: File test.nc was decrypted. [spot@localhost devel]$ cat test a [spot@localhost devel]$ touch test2 [spot@localhost devel]$ echo zz > test2 [spot@localhost devel]$ MALLOC_CHECK_=2 mcrypt test2 Enter the passphrase (maximum of 512 characters) Please use a combination of upper and lower case letters and numbers. Enter passphrase: Enter passphrase: File test2 was encrypted. [spot@localhost devel]$ rm -rf test2 [spot@localhost devel]$ MALLOC_CHECK_=2 mcrypt -d test2.nc Enter passphrase: File test2.nc was decrypted. [spot@localhost devel]$ cat test2 zz Can you test again with all the F-9 updates applied and see if you can reproduce this? Alternately, if you have a sample file for me to test crypting, feel free to upload it. I upgraded to your current release from updates pending: libmcrypt-2.5.8-6.fc9.i386 mcrypt-2.6.7-3.fc9.i386 and can confirm that this problem is now fixed. Thanks. Works for me. Closing as NEXTRELEASE. |