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

Fix potential buffer overruns in CONSRV

    Details

    • Type: Bug
    • Status: Untriaged
    • Priority: Minor
    • Resolution: Unresolved
    • Fix Version/s: None
    • Component/s: Win32SS
    • Labels:
      None

      Description

      /reactos-cov/win32ss/user/winsrv/consrv/conoutput.c -- Line 528
      CID 1236970 (#1 of 1): Out-of-bounds access (ARRAY_VS_SINGLETON)
      6. callee_ptr_arith: Passing CharInfo to function ConDrvReadConsoleOutput which uses it as an array. This might corrupt or misinterpret adjacent memory locations. [show details]
      528    Status = ConDrvReadConsoleOutput(Buffer->Header.Console,
      529                                     Buffer,
      530                                     ReadOutputRequest->Unicode,
      531                                     CharInfo,
      532                                     &ReadOutputRequest->ReadRegion);
      533

      /reactos-cov/win32ss/user/winsrv/consrv/conoutput.c -- Line 627
      CID 1236969 (#1 of 1): Out-of-bounds access (ARRAY_VS_SINGLETON)
      8. callee_ptr_arith: Passing CharInfo to function ConDrvWriteConsoleOutput which uses it as an array. This might corrupt or misinterpret adjacent memory locations. [show details]
      627    Status = ConDrvWriteConsoleOutput(Buffer->Header.Console,
      628                                      Buffer,
      629                                      WriteOutputRequest->Unicode,
      630                                      CharInfo,
      631                                      &WriteOutputRequest->WriteRegion);

        Attachments

          Activity

            People

            • Assignee:
              hbelusca HBelusca
              Reporter:
              hbelusca HBelusca
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: