Skip to content

Execution paths in lws_client_connect_3_connect #3503

@chenuduss

Description

@chenuduss

lws_client_connect_3_connect()

....

try_next_dns_result:
	lws_sul_cancel(&wsi->sul_connect_timeout);
....

I suggest considering whether all execution paths before these lines guarantee that there will be a valid list->owner pointer inside wsi->sul_connect_timeout. It seems to me that not all paths guarantee this. I don't know for sure and I would like to discuss it.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions