www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 14994] New: std.mmfile incorrectly handles map failure

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 puremagic.com
          Reporter: thecybershadow 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.

--
Sep 01 2015