Uploaded image for project: 'Core ReactOS'
  1. Core ReactOS
  2. CORE-13981

To add a check FileSize>MemSize and block the attempt to copy such files.

    XMLWordPrintable

Details

    • Improvement
    • Resolution: Won't Fix
    • Major
    • None
    • None
    • None

    Description

      Today, if a program tries to copy a file larger than the size of RAM - the system displays BSOD hang. Since this is a known issue, to hackfix it, I suggest to strictly prohibit the copy\move these files. It would be great before copying the file, check its size and to copy the file only if the amount of available memory allows it to copy without error. Otherwise, the functions should return an error without trying to copy is obviously not copy the file.
      This decision will reduce the level of error. Instead of failing system we will get application crash (or application error).

      P.S. This can be also implemented only for releases-hack.

      Attachments

        Issue Links

          Activity

            People

              bug zilla Bug Zilla
              amber amber
              Votes:
              1 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: