Which of the following programming languages is most susceptible to buffer overflow attacks, due to its lack of a built-in bounds checking mechanism?

Last Updated on August 7, 2021 by Admin 1

Which of the following programming languages is most susceptible to buffer overflow attacks, due to its lack of a built-in bounds checking mechanism?

Code:
#include <string.h> int main(){ char buffer[8];
strcpy(buffer, ““11111111111111111111111111111””);} Output: Segmentation fault

  • C#
  • Python
  • Java
  • C++

0 0 votes
Article Rating
Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments