What is a dangerous thing about programming in the C language?

What will be an ideal response?

What's dangerous about C is that a beginner can make some big blunders. For example, a programmer can write to areas of memory that cause damage to the OS kernel or, even worse, write a program that allows a remote user to write to areas of memory. Usually, what's written is executable code that might give an attacker a backdoor into the system, escalate an attacker's privileges to that of an administrator, or simply crash the program. This type of attack is usually possible because the programmer didn't check users' input. For example, if users can enter 300 characters when prompted to enter their last names, an attacker can probably enter executable code at this point of the program. When you see the term "buffer overflow vulnerability," think "poor programming practices." Although C is easy to learn and use, errors in using it can result in system damage.

Computer Science & Information Technology

You might also like to view...

In the Columns dialog box, Spacing refers to the ________

A) space between the lines in a column B) space below each column C) space above each column D) space between each column

Computer Science & Information Technology

Leaving a loop as soon as a match is found improves the program's ____.

A. indirect relationships B. logic C. simplicity D. efficiency

Computer Science & Information Technology