IP Library Granted Patent US 7,774,843
Granted Patent B1
US 7,774,843 · App. 11/281,966 · Granted Aug 10, 2010

System, method and computer program product for preventing the execution of unwanted code

View Patent ↗
Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US 7,774,843
App. No.
11/281,966
Granted
Aug 10, 2010
Kind
B1
Abstract

A system, method and computer program product are provided for preventing the execution of unwanted code. An indicator is initially received which is representative of an amount of data to be read from a stack. An amount of data is then read from the stack based on the indicator, such that execution of unwanted code is avoided.

Claims (28)

1. A method, comprising:

receiving an indicator representative of an amount of data to be read from a stack; and

reading from the stack the amount of data based on the indicator, utilizing a processor;

wherein execution of unwanted code is avoided;

wherein the indicator is received in association with a routine called by a client application;

wherein the indicator is conditionally received based on whether the routine includes at least one of a printf routine and a scanf routine.

2. The method of claim 1 , wherein the indicator is representative of a number of bytes of data to be read from the stack.

3. The method of claim 1 , wherein the indicator is conditionally received based on the routine.

4. The method of claim 1 , wherein the indicator is conditionally received based on a vulnerability of the routine.

5. The method of claim 1 , wherein the data read from the stack includes arguments associated with the routine.

6. The method of claim 1 , wherein the reading is stopped upon reading from the stack the amount of data.

7. The method of claim 1 , wherein the receiving is carried out utilizing a compiler.

8. The method of claim 7 , wherein the indicator is received from a library.

9. The method of claim 8 , wherein the library includes a run-time library.

10. The method of claim 1 , wherein the execution of unwanted code is avoided by preventing the reading of data beyond the amount, which is at least potentially malicious.

11. A computer program product embodied on a computer readable medium, comprising:

computer code for receiving an indicator representative of an amount of data to be read from a stack; and

computer code for reading from the stack the amount of data based on the indicator;

wherein the computer program product is operable such that execution of unwanted code is avoided;

wherein the computer program product is operable such that the indicator is conditionally received based on whether a routine includes at least one of a printf routine and a scanf routine.

12. A system, comprising:

a processor; and

a compiler for utilizing an indicator representative of an amount of data to be read from a stack;

wherein the system is operable such that the amount of data is read from the stack data based on the indicator so that execution of unwanted code is avoided;

wherein the system is operable such that the indicator is received in association with a routine called by a client application;

wherein the system is operable such that the indicator is conditionally received based on whether the routine includes at least one of a printf routine and a scanf routine.

13. The system of claim 12 , wherein a library is in communication with the compiler.

14. The system of claim 13 , wherein the client application is in communication with the compiler.

Assignments (10)
CORRECTIVE ASSIGNMENT TO CORRECT THE THE PATENT TITLES AND REMOVE DUPLICATES IN THE SCHEDULE PREVIOUSLY RECORDED AT REEL: 059354 FRAME: 0335. ASSIGNOR(S) HEREBY CONFIRMS THE ASSIGNMENT. Recorded Jun 23, 2022
From: MCAFEE, LLC
To: JPMORGAN CHASE BANK, N.A., AS ADMINISTRATIVE AGENT
Reel/Frame 060792/0307 →
SECURITY INTEREST Recorded Mar 3, 2022
From: MCAFEE, LLC
To: JPMORGAN CHASE BANK, N.A., AS ADMINISTRATIVE AGENT AND COLLATERAL AGENT
Reel/Frame 059354/0335 →
RELEASE OF INTELLECTUAL PROPERTY COLLATERAL - REEL/FRAME 045056/0676 Recorded Mar 2, 2022
From: MORGAN STANLEY SENIOR FUNDING, INC., AS COLLATERAL AGENT
To: MCAFEE, LLC
Reel/Frame 059354/0213 →
RELEASE OF INTELLECTUAL PROPERTY COLLATERAL - REEL/FRAME 045055/0786 Recorded Oct 26, 2020
From: JPMORGAN CHASE BANK, N.A., AS COLLATERAL AGENT
To: MCAFEE, LLC
Reel/Frame 054238/0001 →
CORRECTIVE ASSIGNMENT TO CORRECT THE REMOVE PATENT 6336186 PREVIOUSLY RECORDED ON REEL 045056 FRAME 0676. ASSIGNOR(S) HEREBY CONFIRMS THE SECURITY INTEREST. Recorded Oct 22, 2020
From: MCAFEE, LLC
To: MORGAN STANLEY SENIOR FUNDING, INC.
Reel/Frame 054206/0593 →
CORRECTIVE ASSIGNMENT TO CORRECT THE REMOVE PATENT 6336186 PREVIOUSLY RECORDED ON REEL 045055 FRAME 786. ASSIGNOR(S) HEREBY CONFIRMS THE SECURITY INTEREST. Recorded Oct 22, 2020
From: MCAFEE, LLC
To: JPMORGAN CHASE BANK, N.A.
Reel/Frame 055854/0047 →
SECURITY INTEREST Recorded Jan 12, 2018
From: MCAFEE, LLC
To: MORGAN STANLEY SENIOR FUNDING, INC.
Reel/Frame 045056/0676 →
SECURITY INTEREST Recorded Jan 12, 2018
From: MCAFEE, LLC
To: JPMORGAN CHASE BANK, N.A.
Reel/Frame 045055/0786 →
CHANGE OF NAME AND ENTITY CONVERSION Recorded Aug 24, 2017
From: MCAFEE, INC.
To: MCAFEE, LLC
Reel/Frame 043665/0918 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Nov 16, 2005
From: PRAKASH, RANJAN
To: MCAFEE, INC.
Reel/Frame 017227/0707 →