Uninitialised pointer is passing a null pointer check. Ends up in a SEGFAULT in set_timeout_state()
Merge pull request #38 from ryandoyle/timeout-uninitialised-pointer

Explicitly initialise timeout_sta pointer