Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • BIND BIND
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 565
    • Issues 565
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 93
    • Merge requests 93
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • 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
  • Issues
  • #2199
Closed
Open
Issue created Oct 06, 2020 by Michal Nowak@mnowakOwner

assertions.c:112:2: warning: ‘%s’ directive argument is null

On v9_11 compiling with --without-dlopen produces warning:

gcc  -I/home/newman/isc/ws/bind9-private -I../.. -I./unix/include -I./pthreads/include -I./x86_32/include -I./include -I./include -I/home/newman/isc/ws/bind9-private/lib/dns/include -I../../lib/dns/include   -D_REENTRANT -DOPENSSL -DPK11_LIB_LOCATION=\"undefined\" -D_GNU_SOURCE -g -O2  -I/usr/include/libxml2      -W -Wall -Wmissing-prototypes -Wcast-qual -Wwrite-strings -Wformat -Wpointer-arith -fno-strict-aliasing -fno-delete-null-pointer-checks  -c assertions.c
assertions.c: In function ‘default_callback’:
assertions.c:112:2: warning: ‘%s’ directive argument is null [-Wformat-overflow=]
  112 |  fprintf(stderr, "%s:%d: %s(%s) %s%s\n",
      |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  113 |   file, line, isc_assertion_typetotext(type), cond,
      |   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  114 |   isc_msgcat_get(isc_msgcat, ISC_MSGSET_GENERAL,
      |   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  115 |           ISC_MSG_FAILED, "failed"), logsuffix);
      |           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
assertions.c:112:2: warning: ‘%s’ directive argument is null [-Wformat-overflow=]
Assignee
Assign to
Time tracking