Skip to content
Snippets Groups Projects

test_journal: correct potential for truncation in snprintf

Merged Jan Doskočil requested to merge cc_warnings into master

fmt string is "i%d" - theoretically if the argument was eg INT_MIN this could've been 13 chars long, which is why gcc threw a warning

Merge request reports

Pipeline #128977 passed

Pipeline passed for dc9fe786 on cc_warnings

Merged by Daniel SalzmanDaniel Salzman 7 months ago (Aug 16, 2024 12:06pm UTC)

Loading

Pipeline #129023 passed

Pipeline passed for 365de347 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
Please register or sign in to reply