Why are most high-level programming languages essentially immune to buffer overflow problems?

What will be an ideal response?


Most high-level programming languages are essentially immune to this problem as data structures can be automatically resized, such as Vector in Java or array in Perl. Out-of-boundary conditions are detected, such as the array exception in Java. Programs written in C/C++, where more focus is given to performance and code size than to the security aspect, are most susceptible to buffer overflow. As a system language, C is considered to be very powerful and flexible with its pointer arithmetic and close to assembly root. However, these advantages may become a headache even for experienced programmers attempting to write secure code with C.

Computer Science & Information Technology

You might also like to view...

If the head instance variable of a linked list contains a reference to null, this means the list is:

a. full b. empty c. lost d. none of the above

Computer Science & Information Technology

A contiguous cell range consists of multiple cells where at least one cell is not directly adjacent to other cells

Indicate whether the statement is true or false

Computer Science & Information Technology

____ appear at either end of a connector when it is attached to two shapes.

A. Green circles B. Yellow diamonds C. Red circles D. Black squares

Computer Science & Information Technology

Which device makes all computers share a given bandwidth?

A. Switch B. Hub C. Router D. DNS server

Computer Science & Information Technology