Skip to content
Snippets Groups Projects

oggenc: Don't assume the output path ends in a file name.

Merged Ralph Giles requested to merge pathseg into master

oggenc attempts to create any specified directories in the output file path if they don't exist. The parser was assuming there was a final filename after the last directory separator, and so would try to read off the end of the argument if it was a bare directory such as ./ or outdir/. This adds a check to make sure the scan isn't starting off the end of the path string.

Thanks to Frank-Z7 (Zeng Yunxiang) at Huazhong University of Science and Technology (cse.hust.edu.cn) for the report.

Merge request reports

Pipeline #6506 passed

Pipeline passed for 5bb47f58 on pathseg

Merged by Petter ReinholdtsenPetter Reinholdtsen 1 week ago (Apr 9, 2025 6:37am UTC)

Loading

Pipeline #6507 passed

Pipeline passed for 5bb47f58 on master

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
Please register or sign in to reply
Loading