[openssl-users] openssl cms -decrypt failing due to malloc(3) failure

Michael Wojcik Michael.Wojcik at microfocus.com
Mon Jul 30 13:22:44 UTC 2018

> From: openssl-users [mailto:openssl-users-bounces at openssl.org] On Behalf
> Of Christian Böhme
> Sent: Monday, July 30, 2018 02:57
> For the latter, if the argument to  -in  can be determined to resolve to a file
> descriptor of a regular file, the file's contents can be /very/ conveniently
> mmap(2)'ed
> into the process' address space, ignoring possible limits.

Not portably, it can't. There are operating systems other than Linux and UNIX, and OpenSSL supports a number of them.

Michael Wojcik
Distinguished Engineer, Micro Focus

More information about the openssl-users mailing list