Page MenuHome GnuPG

Temp filename creation fails to choose proper extension
Testing, NormalPublic

Description

The get_tmp_outfile chooses everthing after the first "." as extension. It should choose everting after the last "."

Filename: "Report of meeting 02.04.25 regarding something.doc"
IS => Extension : "04.25 regarding something.doc"
SHOULD => "doc"

If the filename is very long and the dot early in the filename the temp filename could be longer than MAX_PATH.

Event Timeline

mmontkowski created this task.
mmontkowski changed the task status from Open to Testing.Mon, Jul 14, 4:48 PM
mmontkowski moved this task from Backlog to WIP on the gpgol board.
mmontkowski moved this task from Backlog to WiP on the vsd33 board.