antirez / antirez/lua-cmsgpack
Wrong size passed into realloc on delete of buf
未关闭
- 主要语言
- C
- 星标
- 383
- 派生
- 122
- PR 合并指标
- 30 天内没有已合并 PR
描述
In mp_buf_free in file lua_cmsgpack.c line 133 reads mp_realloc(buf->L, buf->b, buf->len, 0); when it should read mp_realloc(buf->L, buf->b, buf->len + buf->free, 0);
realloc is passed the wrong osize. That can be problematic if the implementation of realloc is sensitive to it.
贡献指南
这个仓库没有索引到贡献指南
评估
这个 Issue 还没有评估数据。