You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
swift-ci opened this issue
Aug 18, 2018
· 2 comments
Assignees
Labels
bugA deviation from expected or documented behavior. Also: expected but undesirable behavior.compilerThe Swift compiler in itselfmanglingArea → compiler: Mangling
It can take too long to exit (failed to exit within 30min on my machine).
The suspicious code segment should be inside swift::Demangle::archetypeName[abi:cxx11](unsigned long, unsigned long) at lib/Demangling/NodePrinter.cpp:1821 where the index can be 140737488335472.
The text was updated successfully, but these errors were encountered:
bugA deviation from expected or documented behavior. Also: expected but undesirable behavior.compilerThe Swift compiler in itselfmanglingArea → compiler: Mangling
Environment
Swift version 4.2-dev (LLVM aba011d5dc, Clang 09210590b6, Swift 6f91a4e)
Target: x86_64-unknown-linux-gnu
Additional Detail from JIRA
md5: 60977606c17b9d7ab6d17c346fdc27e5
Issue Description:
swift-demangle may hang unexpectedly on some crafted strings. For example, for a string like:
It can take too long to exit (failed to exit within 30min on my machine).
The suspicious code segment should be inside swift::Demangle::archetypeName[abi:cxx11](unsigned long, unsigned long) at lib/Demangling/NodePrinter.cpp:1821 where the index can be 140737488335472.
The text was updated successfully, but these errors were encountered: