1 Reply Latest reply on Mar 15, 2017 7:18 AM by genecheng_1843576 Branched from an earlier discussion.

    WICED Studio 4.1.1 has been released...(Found Bug)

    genecheng_1843576

      HI, I found a bug from this release.

       

      wiced_result_t wiced_tcp_server_accept( wiced_tcp_server_t* tcp_server, wiced_tcp_socket_t* socket )

      {

          wiced_result_t result;

          UINT           nx_result;

       

          result = wiced_tcp_accept( socket );

       

          if ( result == WICED_SUCCESS )

          {

              result = internal_wiced_tcp_server_listen( tcp_server );

          }

          else

          {

              result = netx_returns[ nx_result = nx_tcp_server_socket_relisten( socket->socket.nx_tcp_socket_ip_ptr, tcp_server->port, &socket->socket ) ];

              wiced_assert("Re-Listen failed!", nx_result == NX_SUCCESS);

          }

       

          return result;

      }

       

      The else statement will make platform crash when "Error starting TLS connection" occurs.

      When I remove the whole else{} statement, everything is fine.

       

      Cloud you please confirm this situation? Thank you.