Accessing and/or using uninitialized variables

To give the reader a sense of the seriousness of these memory issues, we have written a test program, membugs.c. This test program allows the user to test various common memory bugs, which will help them better understand the underlying issues.

Each memory bug test case is given a test case number. So that the reader can easily follow the source code with the explanatory material, we also specify the test case as follows.

Get Hands-On System Programming with Linux now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.