[Issue 14994] New: std.mmfile incorrectly handles map failure

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Tue Sep 1 04:28:23 PDT 2015


https://issues.dlang.org/show_bug.cgi?id=14994

          Issue ID: 14994
           Summary: std.mmfile incorrectly handles map failure
           Product: D
           Version: D2
          Hardware: All
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P1
         Component: phobos
          Assignee: nobody at puremagic.com
          Reporter: thecybershadow at gmail.com

If opening the file succeeds but the map fails, MmFile incorrectly handles the
error condition and continues, pretending that everything is fine. This
inevitably leads to a crash later when attempting to use the mapped data.

--


More information about the Digitalmars-d-bugs mailing list