etcimon / botan

Block & stream ciphers, public key crypto, hashing, KDF, MAC, PKCS, TLS, ASN.1, BER/DER, etc.
Other
85 stars 22 forks source link

botan.block.xtea crashes DMD #43

Closed nametoolong closed 4 years ago

nametoolong commented 6 years ago
import botan.block.xtea;

A single line crashes DMD 2.079.0. dmd -v outputs the following:

semantic  main
Enhanced memory security is enabled.
import    memutils.securepool   (..\..\AppData\Local\dub\packages\memutils-0.4.10\memutils\source\memutils\securepool.d)
Memory debugger enabled
import    core.bitop    (C:\D\dmd2\windows\bin\..\..\src\druntime\import\core\bitop.d)
import    std.typetuple (C:\D\dmd2\windows\bin\..\..\src\phobos\std\typetuple.d)
import    core.checkedint       (C:\D\dmd2\windows\bin\..\..\src\druntime\import\core\checkedint.d)
import    memutils.rbtree       (..\..\AppData\Local\dub\packages\memutils-0.4.10\memutils\source\memutils\rbtree.d)
import    std.utf       (C:\D\dmd2\windows\bin\..\..\src\phobos\std\utf.d)

object.Error@(0): Access Violation
----------------
0x00483769
0x00495AC3
0x004D912B
0x004D97B1
0x004A6F70