std.bigint powmod incorrect result

Bug #2003613 reported by Guido
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
ldc (Ubuntu)
New
Undecided
Unassigned

Bug Description

Compile and run the attached reproducer on Ubuntu 20.04 using:

ldc2 powmodpoc.d && ./powmodpoc

this crashes with an assert failure because the result of powmod() is incorrect.

It does not cause a crash on Ubuntu 22.04 or the latest upstream version.

Revision history for this message
Guido (guidovranken) wrote :
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Bug attachments

Remote bug watches

Bug watches keep track of this bug in other bug trackers.