Skip to content

test/libcephfs: Fixed path buffer overflow - #66030

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

vshankar merged 1 commit into
ceph:mainfrom
edwinzrodriguez:ceph-wip-73617

Conversation

@edwinzrodriguez

Copy link
Copy Markdown
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
Copy Markdown
Contributor

we have a PR for this already #65685

@batrick batrick mentioned this pull request Oct 23, 2025
4 of 14 tasks
@edwinzrodriguez

Copy link
Copy Markdown
Contributor Author

jenkins test windows

@edwinzrodriguez

Copy link
Copy Markdown
Contributor Author

jenkins test make check

@batrick

batrick commented Nov 4, 2025

Copy link
Copy Markdown
Member

jenkins test make check arm64

@batrick

batrick commented Nov 4, 2025

Copy link
Copy Markdown
Member

jenkins test windows

@vshankar vshankar left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Good catch!

@vshankar

vshankar commented Nov 5, 2025

Copy link
Copy Markdown
Contributor

jenkins test make check arm64

@vshankar

Copy link
Copy Markdown
Contributor

@vshankar

vshankar commented Dec 1, 2025

Copy link
Copy Markdown
Contributor

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

Reviewed-by: Dhairya Parmar <[email protected]>
Reviewed-by: Venky Shankar <[email protected]>
Reviewed-by: Patrick Donnelly <[email protected]>

@vshankar vshankar left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

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