albinoloverats ~ Software Development

Skip to main content
Welcome Unknown Crawler
Oh, I do hope she breaks into a song this time!
-- Discord

decrypt to file

User Gravitar
Associated with encrypt
Assigned to The encrypt Development Team
Raised by Ashley on 2013-06-12
Severity: Bug (Major)
Attachments: None
When compiled with -O2 optimisations, decrypting to a, currently non-existent, file (and possibly a directory) fails with a segmentation fault.

This is caused by a null pointer dereference at io.c:186, called from cli.c:82.

Using fewer or no optimisations (-O1 or -O0) or having the file already exist do not cause this error to occur.

Untitled Comment #12

On 2013-06-12 Ashley wrote:
User Gravitar

Identified the cause as a combination of the following:

Hence: the NULL check is removed from the function with optimisations -O2 and higher.

A fix is on the way :-)

Untitled Comment #13

On 2013-06-14 The encrypt Development Team wrote:
User Gravitar

Fix is now available in Git repository.

This bug has been closed; no more details accepted