[Issue 9131] Invalid UTF-8 when using std.algorithm.equal with dstring and string
via Digitalmars-d-bugs
digitalmars-d-bugs at puremagic.com
Sat Aug 16 23:20:21 PDT 2014
https://issues.dlang.org/show_bug.cgi?id=9131
Denis Shelomovskij <verylonglogin.reg at gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |verylonglogin.reg at gmail.com
--- Comment #5 from Denis Shelomovskij <verylonglogin.reg at gmail.com> ---
(In reply to hsteoh from comment #4)
> Found the cause of this bug. It's a stack overflow caused by the transient
> range struct using a large static array as buffer: it just takes a few
> copies of this struct (since structs are passed by value) to overflow the
> stack, upon which memory corruption starts happening.
Why memory corruption instead of "Stack overflow" message? Looks like a serous
issue.
--
More information about the Digitalmars-d-bugs
mailing list