]> granicus.if.org Git - curl/commit
smtp: fixed a segfault during test 1320 torture test
authorDan Fandrich <dan@coneharvesters.com>
Wed, 30 Jul 2014 21:18:47 +0000 (23:18 +0200)
committerDan Fandrich <dan@coneharvesters.com>
Wed, 30 Jul 2014 21:37:24 +0000 (23:37 +0200)
commit2c1db913f73ff29291969ca7bf6f3bf8e1f34069
tree8c4aaa38a0ac8d31666c10ec9df0915c73e50e10
parent01a016880620cf2a3ad5135327a27124d8c168c2
smtp: fixed a segfault during test 1320 torture test

Under these circumstances, the connection hasn't been fully established
and smtp_connect hasn't been called, yet smtp_done still calls the state
machine which dereferences the NULL conn pointer in struct pingpong.
lib/smtp.c