Semua buku

Profesional

Aplikasi Tentang Pelatih Masuk Mulai membaca

Computer Science · Glosarium

Apa itu Stack smashing, integer overflow vulnerability?

Dikenal juga sebagai: stack smashing · integer overflow vulnerability

Definition 29.2 University Computer Science — Year 3 · Bab 29 — Software Security

Stack smashing is a buffer overflow in a stack frame that overwrites other data of the frame: another local variable, the saved frame pointer or the return address. An integer overflow vulnerability is an arithmetic overflow in a size or index computation, which makes a later check or allocation use a wrong, usually too small, value.

The frame of check in the two builds, from , with offsets from the frame pointer in bytes. In the plain build the 29th byte of a name lands in is_admin; with the protector the array sits just below the canary, and the flag is out of reach below it.
The frame of check in the two builds, from Output 29.1, with offsets from the frame pointer in bytes. In the plain build the 29th byte of a name lands in is_admin; with the protector the array sits just below the canary, and the flag is out of reach below it.
Baca dalam konteks →