Format String Bug
Format String Bug
Overview
What is Format String?
#include <stdio.h>
#include <stdlib.h>
int main( int argc, char *argv[] )
{
double savings = 345.82;
// The first argument is the format string.
// It tells printf to print the value of savings as a floating value.
printf("Savings: $%f", savings);
return 0;
}

What is Format String Bug?
Memory Read



Memory Write
Exploit
References
Last updated