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

GDI32 TextOut[A|W] Bug: '\0' writes as square instead of nothing

    XMLWordPrintable

    Details

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

      Description

      While I was writing a test program for bug https://jira.reactos.org/browse/CORE-10876 (see my comment https://jira.reactos.org/browse/CORE-10876?focusedCommentId=81394&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-81394) I found a bug.
      How to reproduce:
      1. Make A TextOut call with full string size (including the '\0').

        Attachments

        1. nultext_ros75514.PNG
          nultext_ros75514.PNG
          7 kB
        2. NulText.zip
          25 kB
        3. NulText-Win10.png
          NulText-Win10.png
          3 kB
        4. NulText-Win2K3.png
          NulText-Win2K3.png
          3 kB
        5. snapshot80.png
          snapshot80.png
          3 kB
        6. snapshot86.png
          snapshot86.png
          3 kB
        7. text.c.patch
          5 kB
        8. text.c.patch
          4 kB

          Issue Links

            Activity

              People

              • Assignee:
                bug zilla Bug Zilla
                Reporter:
                leha-bot leha-bot
              • Votes:
                4 Vote for this issue
                Watchers:
                7 Start watching this issue

                Dates

                • Created:
                  Updated: