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

GlobalGetAtomNameA crash

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • None
    • NTCore
    • None
    • Operating System: ReactOS
      Platform: x86 Hardware

    Description

      /*

      • This test fails on ReactOS, because GlobalGetAtomNameA causes
      • user mode exception.
        */

      #include <windows.h>
      #include <stdio.h>

      int main()
      {
      ATOM Atom;
      CHAR Buffer[10];
      UINT Length;

      printf("Calling GlobalAddAtomA\n");
      Atom = GlobalAddAtomA("foobar");
      printf("Calling GlobalGetAtomNameA\n");
      Length = GlobalGetAtomNameA(Atom, Buffer, 10);
      if (Length != 6)
      printf("Bad length reported (%d)\n", Length);
      else
      if (strcmp(Buffer, "foobar"))
      printf("Bad name reported\n");
      printf("Test finished\n");

      return 0;
      }

      Attachments

        Activity

          People

            bug zilla Bug Zilla
            navaraf navaraf
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: