February 2020
Beginner to intermediate
616 pages
15h 16m
English
In this recipe, we will see the vulnerability that might occur while copying a string. We will also see how to avoid that vulnerability. We will first define a structure consisting of two members. In one of the members, we will be copying a text that is larger than its capacity, which will result in overwriting the content of another member.
In the next recipe, we will learn how to avoid this problem.
Read now
Unlock full access