Device and method for protection against stack overflow and franking machine using same
AssigneesSecap, Ascom Autelca AG
InventorsJean-Marc Dery, Frédéric L'Hote
Life of this patent
Estimating the term…
Abstract
The invention concerns a method for protecting sensitive data against overflow in a stack, memory space reserved for part of a program. Said method comprises an operation which consists in assigning a stack to each program part, during which the most upstream stack relatively to the displacement direction of an indicator in a stack, is assigned a task for operating on said sensitive data. Preferably, said method comprises the execution of a single task operating on said sensitive data.
Claims6
A method of protecting sensitive data against overflow of a stack of memory space reserved for a part of a program, said method comprising the steps of:
- allocating a separate stack to each part of a program;
- allocating a most upstream stack, relative to a direction of movement of a stack pointer in a plurality of stacks, to a task operating on said sensitive data.
A device for protecting sensitive data against overflow of a stack of memory space reserved for a part of a program, said device comprising:
- means for allocating a separate stack for each program part;
- means for allocating a most upstream stack of said plurality if stacks, relative to a direction of movement of a stack pointer in said plurality of stacks to a task operating on said sensitive data.
Dependencies are inferred from the claim text.