Skip to content

test/libcephfs: Fixed path buffer overflow#66030

Merged
vshankar merged 1 commit intoceph:mainfrom
edwinzrodriguez:ceph-wip-73617
Dec 5, 2025
Merged

test/libcephfs: Fixed path buffer overflow#66030
vshankar merged 1 commit intoceph:mainfrom
edwinzrodriguez:ceph-wip-73617

Conversation

@edwinzrodriguez
Copy link
Contributor

Replace snprintf with fmt::format_to_n to eliminate buffer overflow

Fixes: https://tracker.ceph.com/issues/73617

Contribution Guidelines

  • To sign and title your commits, please refer to Submitting Patches to Ceph.

  • If you are submitting a fix for a stable branch (e.g. "quincy"), please refer to Submitting Patches to Ceph - Backports for the proper workflow.

  • When filling out the below checklist, you may click boxes directly in the GitHub web UI. When entering or editing the entire PR message in the GitHub web UI editor, you may also select a checklist item by adding an x between the brackets: [x]. Spaces and capitalization matter when checking off items this way.

Checklist

  • Tracker (select at least one)
    • References tracker ticket
    • Very recent bug; references commit where it was introduced
    • New feature (ticket optional)
    • Doc update (no ticket needed)
    • Code cleanup (no ticket needed)
  • Component impact
    • Affects Dashboard, opened tracker ticket
    • Affects Orchestrator, opened tracker ticket
    • No impact that needs to be tracked
  • Documentation (select at least one)
    • Updates relevant documentation
    • No doc update is appropriate
  • Tests (select at least one)
Show available Jenkins commands

You must only issue one Jenkins command per-comment. Jenkins does not understand
comments with more than one command.

@github-actions github-actions bot added cephfs Ceph File System tests labels Oct 22, 2025
@dparmar18
Copy link
Contributor

we have a PR for this already #65685

Fixes: https://tracker.ceph.com/issues/73617
Signed-off-by: Edwin Rodriguez <edwin.rodriguez1@ibm.com>
@edwinzrodriguez
Copy link
Contributor Author

jenkins test windows

@edwinzrodriguez
Copy link
Contributor Author

jenkins test make check

@batrick
Copy link
Member

batrick commented Nov 4, 2025

jenkins test make check arm64

@batrick
Copy link
Member

batrick commented Nov 4, 2025

jenkins test windows

Copy link
Contributor

@vshankar vshankar left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good catch!

@vshankar
Copy link
Contributor

vshankar commented Nov 5, 2025

jenkins test make check arm64

@vshankar
Copy link
Contributor

This PR is under test in https://tracker.ceph.com/issues/73938.

@vshankar
Copy link
Contributor

vshankar commented Dec 1, 2025

Need to retest with https://tracker.ceph.com/issues/74026

vshankar added a commit to vshankar/ceph that referenced this pull request Dec 2, 2025
* refs/pull/66030/head:

Reviewed-by: Dhairya Parmar <dparmar@redhat.com>
Reviewed-by: Venky Shankar <vshankar@redhat.com>
Reviewed-by: Patrick Donnelly <pdonnell@ibm.com>
Copy link
Contributor

@vshankar vshankar left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@vshankar vshankar merged commit e32c826 into ceph:main Dec 5, 2025
13 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants