Mercurial > hg
comparison .clang-format @ 47862:16346f3d446d stable
revlog: fix type confusion with sidedata_comp_len (issue6580)
The format string uses "i" (int) for sidedata_comp_len, so we shouldn't
be passing a pointer to Py_ssize_t to PyArg_ParseTuple. On 64-bit
big-endian, this would result in python only writing to the upper 32
bits, and things go downhill from there.
Differential Revision: https://phab.mercurial-scm.org/D11334
author | Julien Cristau <jcristau@mozilla.com> |
---|---|
date | Tue, 24 Aug 2021 12:44:34 +0200 |
parents | d0a3fa849cb8 |
children |
comparison
equal
deleted
inserted
replaced
47858:df94c13ddf60 | 47862:16346f3d446d |
---|