Tags: c ida pwn race-condition c  

Rating:

Race condition bug. gethostbyname() is not thread safe.

Original writeup (https://anee.me/exploiting-race-condition-bugs-dragonctf-2019-b0758bcd1a92).