diff mercurial/grep.py @ 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 d4ba4d51f85f
children 6000f5b25c9b
line wrap: on
line diff