With the 20110815 snapshot I am getting a SegFault when trying to use CMAC. The command I used is as follows:
[root@localhost bin]# ./openssl dgst -mac cmac -macopt cipher:aes128 -macopt key:IZEASGTBPOIZEASG -c /lorum-ipsum.txt Segmentation fault Valgrind reports: ==27337== Invalid read of size 4 ==27337== at 0x812F374: EVP_MD_type (in /usr/local/ssl/bin/openssl) ==27337== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==27337== ==27337== Process terminating with default action of signal 11 (SIGSEGV) ==27337== Access not within mapped region at address 0x0 ==27337== at 0x812F374: EVP_MD_type (in /usr/local/ssl/bin/openssl) I am new to openssl so I may not be using it correctly but I would not expect a SegFault even under misuse so I think this may be a bug Best Regards Nick Nick Lewis nick.le...@usa.g4s.com<mailto:nick.le...@usa.g4s.com> +44 1684 277137<tel:+441684277137> www.g4stechnology.com<http://www.g4stechnology.com/> Challenge House, International Drive, Tewkesbury, Gloucestershire, GL20 8UQ, UK P Please consider the environment before printing this email ________________________________ The details of this company are as follows: G4S Technology Limited, Registered Office: Challenge House, International Drive, Tewkesbury, Gloucestershire GL20 8UQ, Registered in England No. 2382338. This communication may contain information which is confidential, personal and/or privileged. It is for the exclusive use of the intended recipient(s). If you are not the intended recipient(s), please note that any distribution, forwarding, copying or use of this communication or the information in it is strictly prohibited. Any personal views expressed in this e-mail are those of the individual sender and the company does not endorse or accept responsibility for them. Prior to taking any action based upon this e-mail message, you should seek appropriate confirmation of its authenticity. This e-mail has been scanned for all viruses by MessageLabs.
With the 20110815 snapshot I am getting a SegFault when trying to use CMAC. The command I used is as follows: [root@localhost bin]# ./openssl dgst -mac cmac -macopt cipher:aes128 -macopt key:IZEASGTBPOIZEASG -c /lorum-ipsum.txt
Segmentation fault Valgrind reports: ==27337== Invalid read of size 4 ==27337== at 0x812F374: EVP_MD_type (in /usr/local/ssl/bin/openssl) ==27337== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==27337== ==27337== Process terminating with default action of signal 11 (SIGSEGV) ==27337== Access not within mapped region at address 0x0 ==27337== at 0x812F374: EVP_MD_type (in /usr/local/ssl/bin/openssl) I am new to openssl so I may not be using it correctly but I would not expect a SegFault even under misuse so I think this may be a bug Best Regards Nick Nick Lewis Challenge House, International Drive, Tewkesbury, Gloucestershire, GL20 8UQ, UK P Please consider the environment before printing this email The details of this company are as follows: G4S Technology Limited, Registered Office: Challenge House, International Drive, Tewkesbury, Gloucestershire GL20 8UQ, Registered in England No. 2382338. This communication may contain information which is confidential, personal and/or privileged. It is for the exclusive use of the intended recipient(s). If you are not the intended recipient(s), please note that any distribution, forwarding, copying or use of this communication or the information in it is strictly prohibited. Any personal views expressed in this e-mail are those of the individual sender and the company does not endorse or accept responsibility for them. Prior to taking any action based upon this e-mail message, you should seek appropriate confirmation of its authenticity. This e-mail has been scanned for all viruses by MessageLabs. |