wisemonkeys logo
FeedNotificationProfileManage Forms
FeedNotificationSearchSign in
wisemonkeys logo

Blogs

Buffer Overflow

profile
Vrudanshi Bavliya
Sep 10, 2024
0 Likes
0 Discussions
77 Reads

What is Buffer? 

A buffer is a temporary data storage area with limited storage capacity. A buffer is typically area in the memory that is used to transfer data from one location to another location. Buffers are basically allocated in RAM to the processes. When any program is executed, it is loaded into RAM and some memory is temporarily allocated to the program called Buffer. 

How Buffer overflows? 

Buffer overflow is an attack that occurs when the amount of data that is submitted is larger than the buffer. For example in C, we create array of size 5. If the user enters data > 5,then it will override the data stored in memory further. Buffer are the container for data and in buffer overflow we stuff too much information into the container.

How to protect against buffer overflow? 

Basically this type of buffer is possible due to poorly written application code or operating system code. To protect against buffer overflow attacks programmers as well as organisation needs to ensure:-

1. Program should properly test/handle all the overflow conditions. 

2. Organisation should ensure all the operating systems and applications are update with latest updates, service packs and patches.



Comments ()


Sign in

Read Next

Multiprocessor and Multicore Organization

Blog banner

Why You Need 2FA (Two-Factor Authentication) On Your Email And Other Online Accounts

Blog banner

Raid and levels of raid.

Blog banner

Threads in OS

Blog banner

Tomato Butter Sauce with Bucatini

Blog banner

OS Assignment 3

Blog banner

I/O Management and Disk Scheduling

Blog banner

Starvation

Blog banner

GraphX:- A graph processing tool

Blog banner

Virtual memory

Blog banner

RAID

Blog banner

Craziness of dream 11 and how it impacts on our life

Blog banner

INTRODUCTION

Blog banner

Hacking

Blog banner

Operating system

Blog banner

The seven-step improvement process

Blog banner

ART AND CULTURE OF VRINDAVAN

Blog banner

POSITIVE ATTITUDE IN LIFE

Blog banner

Why Kanye West (Now Ye) is the GOAT: A Legacy Beyond Music

Blog banner

Service Validation and Testing during the Design Phase

Blog banner

EVOLUTION OF THE MIRCOPROCESSOR

Blog banner

The Right way of cooking

Blog banner

WINDOWS I/ O

Blog banner

Modern operating system

Blog banner

"The Benefits of Using GIS in Agriculture"

Blog banner

Software

Blog banner

virtual machine

Blog banner

Crypto tax evasion

Blog banner

Guidelines for a low sodium diet.

Blog banner

Sessions In OS.

Blog banner

Mumbai famous street food

Blog banner

MD5 Collisions and the impact on computer forensics

Blog banner

Deadlocks

Blog banner

Semaphores

Blog banner

Concurrency management in operating systems

Blog banner

New Ransomware Encrypts Your Android And Then Changes PIN Lock

Blog banner

Principles of Concurrency

Blog banner

Service transistion under difficult conditions

Blog banner

Virtual machine

Blog banner

Clarizen

Blog banner

SmartData Collective: Data Science aur Analytics ki Duniya

Blog banner

Top 4 Places To Stay In Copenhagen

Blog banner