Skip to content

etag.data ain't have the space for the trailing '\0' #4

Description

@duhoobo

285 etag.data = ngx_palloc(r->pool, hex_digest_length);
...
299 *hashed_etag = '\0';

I think hex_digest_length bytes are used up after converting to HEX string.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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