Azat Khuzhin 4545807db4 Fix UB in evutil_date_rfc1123()
As pointed in https://github.com/libevent/libevent/pull/417#issuecomment-267860738
  "code is unsafe because in evutil_date_rfc1123() the pointer to the
  automatic variable struct tm cur is used outside the scope it defined."

Checked with `clang -fsanitize=address -fsanitize-address-use-after-scope`
and test that call evutil_date_rfc1123() with tm==NULL
2016-12-22 14:46:38 +03:00
..
2015-01-21 11:24:23 +01:00
2012-02-29 15:47:16 -05:00
2014-02-25 14:57:24 +01:00
2014-02-25 14:57:24 +01:00
2016-12-22 14:46:38 +03:00