Page MenuHome GnuPG

GpgOL: 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.

Revisions and Commits

Event Timeline

mmontkowski created this task.
mmontkowski changed the task status from Open to Testing.Jul 14 2025, 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.
ebo moved this task from Backlog to WIP on the gpd5x board.
ebo renamed this task from Temp filename creation fails to choose proper extension to GpgOL: Temp filename creation fails to choose proper extension.Tue, Aug 5, 9:09 AM