RSS Amplifier

Projects on Arch Cloud Labs · Jul 6, 2023

Debugging with gdb - Fixing a NULL Pointer Dereference in dhcpcd

0
Sign in to vote or save

This page cannot be shown here. You can still read it on the original site — the toolbar below keeps your place in the directory.

About the Project Several tutorials exist on how to leverage the GNU Debugger (GDB) to debug misbehaving applications. However, a majority of these blogs just show commands to run that poke at memory addresses, and don’t show the process of resolving said bug. This blog post will walk through how I recently identified, tried to fix, and ultimately reported a bug in dhcpcd 10.0.1 via…

About the Project Several tutorials exist on how to leverage the GNU Debugger (GDB) to debug misbehaving applications. However, a majority of these blogs just show commands to run that poke at memory addresses, and don’t show the process of resolving said bug. This blog post will walk through how I recently identified, tried to fix, and ultimately reported a bug in dhcpcd 10.0.1 via gdb. Identifying The Issue The command line utility coredumpctl is used to interact with the coredumps saved by the systemd-coredump service.

Read on /projects/gdb-debugging-1/

Comments

Nothing yet. Say the first thing.

    Sign in to join the conversation.