Skip to content

Conversation

@bmerry
Copy link
Contributor

@bmerry bmerry commented Sep 30, 2018

sdsZmallocSize assumes a dynamically allocated SDS. When given a string
object created by createEmbeddedStringObject, it calls zmalloc_size on a
pointer that isn't the one returned by zmalloc

sdsZmallocSize assumes a dynamically allocated SDS. When given a string
object created by createEmbeddedStringObject, it calls zmalloc_size on a
pointer that isn't the one returned by zmalloc
@antirez antirez merged commit fe43406 into redis:unstable Oct 1, 2018
@antirez
Copy link
Contributor

antirez commented Oct 1, 2018

Thanks! Merged as well.

JackieXie168 pushed a commit to JackieXie168/redis that referenced this pull request Dec 17, 2018
Fix invalid use of sdsZmallocSize on an embedded string
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants