Computer Security Question C Strings C Pointers Char Type Assumed Point Beginning Buffer C Q37273838

Computer Security Question: C-strings in C++ arepointers to the char type assumed to point the beginning of abuffer of characters in the heap with the last character being anASCII NUL character (character 0). There are functions in thecstdlib and string libraries that allow you to copy and manipulateC-Strings. Provide an example of how a malicious programmer can usethese functions to see memory that their program doesn’t own.


Answer


Leave a Comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.