Hi,

On Wed, 2024-05-15 at 17:14 +0200, Bruno Haible wrote:
> > The fix we’ve put together for GLib is here, and makes the obvious
> > switch from allocating one byte to allocating `sizeof (mp_limb_t)`:
> > https://gitlab.gnome.org/GNOME/glib/-/merge_requests/4066/diffs?commit_id=cbc58085455b699e9ccd73f30eed72510ead5813
> 
> This approach has the drawback that runtime instrumentations will
> not detect if we accidentally read or write the first element of
> this array.

True.


> 
> In the end, I'm removing this 'malloc (1)' memory allocation; this
> should
> speed up the code in some cases.

Fair enough. Thanks for the fast fix!

Philip

Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to