A core dump occurs when the dhclient process runs(x86)
name: Bug report
about: A core dump occurs when the dhclient process runs a normal test case(x86).
Describe the bug When the dhclient process is running, the client->active in the state_bound function (in the dhclinet.c file) accesses a null pointer.
To Reproduce 1.modify the dhclinet.c code. 2.make: Compile the modified code. 3.run the following command: gdb –args ./dhclient –d xxx (xxx indicates the network adapter name.) 4.Delete the /var/lib/dhclient/dhclient.leases file when the gdb is suspended after running.
Expected behavior A coredump occurs.
Environment:
- DHCP version 4.4.2
Additional Information Analyze the code and construct a scenario where the white-box problem is the same as the error code. The black-box problem cannot be reproduced.
Contacting you Email : 1041793952@qq.com