Skip to content

Conversation

@fmartian
Copy link
Contributor

Description

base_filename is already an absolute path that was resolved in findSkinnedFilenames() above but the pushFileName() method tries to do the same again, resulting in an invalid path (the skin directory path is prepended twice)

This went until now undetected since the gDir->fileExists() method used was configured to ignore ENOENT errors but the new std::filesystem based file detection routines in the other PR detect that the filename is invalid before trying to do any actual disk access and report an according Invalid Argument error instead.

Checklist

Please ensure the following before requesting review:

  • I have provided a clear title and detailed description for this pull request.
  • I have tested the changes locally and verified they work as intended.
  • Code follows the project's style guidelines.
  • I have reviewed the contributing guidelines.

base_filename is already an absolute path that was resolved in ffindSkinnedFilenames() above but the oushFileName() method tries to do the same again, resulting in an invalid path (the skin directory path is prepended twice)
@akleshchev akleshchev linked an issue Nov 15, 2025 that may be closed by this pull request
@akleshchev
Copy link
Contributor

Thank you!

@akleshchev akleshchev merged commit 1c89ef9 into secondlife:develop Nov 15, 2025
12 checks passed
@github-actions github-actions bot locked and limited conversation to collaborators Nov 15, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

findSkinnedFilenames() gets called twice in some cases

3 participants