Ensure host offset & length are initialized - fuzzer found possible leaks#440
Ensure host offset & length are initialized - fuzzer found possible leaks#440zzo wants to merge 1 commit intonodejs:mainfrom
Conversation
|
this should be taken care of already by http_parser_url_init(struct http_parser_url *u) {
memset(u, 0, sizeof(*u));
} |
|
cool so http_parser_parse_url should call that? |
|
The user of the library should call that before calling If there's any "bug" here, it's that |
|
ok cool of the 3 references to it being called only 1 in test.c doesn't do this: https://github.com/nodejs/node/blob/bc690e9ef52bebc34cad7ddb40e74472bcb272ca/deps/http_parser/test.c#L2614 |
|
Looks like a bug in the test to me. |
No description provided.