Skip to content

r->header_in.user_agent可能为NULL #2

@akawhy

Description

@akawhy

ngx_http_user_agent_module.c的427行

user_agent = &(r->headers_in.user_agent->value);   

这里字段值可能为NULL

Tengine里面的这个模块判断了这个字段.....

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