Skip to content
This repository has been archived by the owner on Jun 30, 2021. It is now read-only.

evhtp.c##htp__create_reply_() missed "buf = request->rc_scratch" after "request->rc_scratch = evbuffer_new()"? #157

Open
liangX-cn opened this issue May 22, 2020 · 0 comments

Comments

@liangX-cn
Copy link

// file: https://github.com/criticalstack/libevhtp/blob/develop/evhtp.c
// function: htp__create_reply_(...)
// line: 2090

if ((buf = request->rc_scratch) == NULL) {
request->rc_scratch = evbuffer_new();
//
// buf = request->rc_scratch; // missed this line?
//
evhtp_alloc_assert(request->rc_scratch);
}

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant