Hi,

Awfully sorry but the patch is faulty.

I managed to get h->len > h->cap with these inputs.

    z_t a={},b={},c={};
    
zsets(b,"9358773600343173526338450780192119385774479119332489140297311264728262643789634703981479149851510999211640600695643849045864302610882974152426447767162910");
    
zsets(c,"4840082992365925547217206873760172156719565172693878279189433406475124747807061432656510303497060108943389033815257800140853118076285764813419332983714600");
    zmul(a,b,c);


On 27/02/2026 00:14, Valentina Demiciseaux wrote:
> replace the stack by a bump allocator.  this . . .



Reply via email to