www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 14968] New: Invalid mmfile length allowed on Linux


          Issue ID: 14968
           Summary: Invalid mmfile length allowed on Linux
           Product: D
           Version: D2
          Hardware: x86_64
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P1
         Component: phobos
          Assignee: nobody puremagic.com
          Reporter: rsw0x rsw0x.me

From the linux manpage on mmap:
"ERRORS ... EINVAL (since Linux 2.6.12) length was 0." Default length is 0 for mmfile, and 0 is an accepted number. This should probably throw an exception. See: http://forum.dlang.org/post/ngampbtrlokkajksryxp forum.dlang.org --
Aug 26 2015