whtech / doubango

Automatically exported from code.google.com/p/doubango
0 stars 1 forks source link

checking for NULL socket #405

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?

When using TCP transport in tnet_transport_cfsocket on line 295 sock variable 
is NULL and it crashes app

What version of the product are you using? On what operating system?

last version

Please provide any additional information below.

here socket is NULL

if (TNET_SOCKET_TYPE_IS_STREAM(sock->type) && sock->cf_write_stream) {

Original issue reported on code.google.com by arma...@gmail.com on 9 Oct 2014 at 6:28

GoogleCodeExporter commented 9 years ago
Fixed in r1154

Original comment by boss...@yahoo.fr on 14 Oct 2014 at 5:48