Skip to content

Bug on CreateHttpConnector #1

@stdmedoth

Description

@stdmedoth

when I use CreateHttpConnector function, passing host as parameter being greater than char *MAX_HOST_LEN, then it will cause
Segmentation fault.

The implementation must check if the host is shorter than char *MAX_HOST_LEN.

like

    if( strlen(host)>MAX_HOST_LEN ){
         return 1
    }

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions