Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Register
  • Sign in
  • BIND BIND
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
  • Issues 637
    • Issues 637
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 92
    • Merge requests 92
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Artifacts
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Container Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • ISC Open Source ProjectsISC Open Source Projects
  • BINDBIND
  • Merge requests
  • !1558

silence a warning about potential snprintf overrun

  • Review changes

  • Download
  • Patches
  • Plain diff
Merged Evan Hunt requested to merge each-silence-warning into master Feb 21, 2019
  • Overview 0
  • Commits 1
  • Pipelines 4
  • Changes 1

Some versions of gcc warn when building gen on 9.12 and 9.11 because an snprintf format can overrun the space available. The bug appears to have been fixed in 9.13 when the qname minimization work was merged, but it wasn't split out as a separate MR and backported. While looking at it I noticed that the size available for the directory name is too small anyway, so I increased it to PATH_MAX. Backporting this change will also silence the warning on 9.11.

Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: each-silence-warning