METHOD FOR PREVENTING BUFFER OVERFLOW ATTACKS

Patent №

US 6,578,094

Granted

2003-06-10

Filed 2000

Owner

INTERNATIONAL BUSINESS MACHINES CORPORATION

AI components

1

hardware

Assignment

Recorded

Dataset

AIPD

2023_r1 edition

Application

09517205

A method that allows a called procedure to determine a “safe” upper bound value representing the amount of data that can be written to a stack allocated array/buffer without overwriting any stack-defined data stored in reserved memory blocks in the stack (i.e., any region in memory that is preserved by a calling sequence). More specifically, when a called procedure is passed a stack allocated array/buffer as an argument, the method of the present invention allows the called procedure to call a “bounds checking” procedure that calculates and returns the “safe” upper bound value, thereby allowing the called procedure to prevent, e.g., potentially overwriting a procedure return value due to array overflow when writing data to the array. Advantageously, the “bounds checking” procedure may readily be implemented in any operating system/library to provide secure implementations of library functions that provide buffer overflow vulnerabilities.

AI hardwareG06F 7/785G06F 21/54

AI classification

AI hardware0.96
Knowledge representation0.01
Vision0.01
Speech0.00
Machine learning0.00
Planning0.00
Natural language0.00
Evolutionary computation0.00

Ownership

INTERNATIONAL BUSINESS MACHINES CORPORATION

assignment · 106590022

Assignors

MOUDGILL, MAYAN

On an employer assignment, the assignors are typically the inventors.

From the same owner

© 2026 NYSGPT2525 LLC