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 570
    • Issues 570
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 100
    • Merge requests 100
  • 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
  • #502
Closed
Open
Issue created Aug 27, 2018 by Stephen Morris@stephen

named-checkzone hangs when compiled with afl-clang-fast

One of the fuzzing tests carried out is to fuzz named-checkzone. To do this, BIND is built with aft-clang-fast using the "configure" command:

AFL_HARDEN=1 CFLAGS=afl-clang-fast ./configure

When built with the code in commit 1c57b73e (oss-fuzz: Improve interaction with fuzzing tools and add new tests in fuzz/ directory) named-checkconf hangs when run on a simple zone file. It runs correctly when BIND is built with the code in the previous commit (d30b90db Merge branch '484-fix-non-libtool-build' into 'master').

This occurs on Debian 9 with AFL 2.52b. (The hang also occurs with the latest version of master on Fedora 27.) FWIW, the zone file used contained:

$TTL 300
@ 			IN SOA	marka.isc.org. ns.server. (
				2010   	; serial
				600         	; refresh
				600         	; retry
				1200    	; expire
				600       	; minimum
				)
@			NS	ns
ns			A	10.53.0.5
foo			TXT	"From NS 5"
bar			TXT	"From NS 5"
Assignee
Assign to
Time tracking