Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8127087

wrong check in lcdglyph.c

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P3
    • Resolution: Fixed
    • Affects Version/s: fx2.1
    • Fix Version/s: 7u6
    • Component/s: javafx
    • Labels:

      Description

      reading lcdglyph.c I noticed this code:
      glyphInfo = (GlyphInfo*)malloc(sizeof(GlyphInfo)+imageSize);
      if (malloc == NULL) {
         FREE_AND_RETURN;
      }

      the correct code is:

      glyphInfo = (GlyphInfo*)malloc(sizeof(GlyphInfo)+imageSize);
      if (glyphInfo == NULL) {
         FREE_AND_RETURN;
      }

        Attachments

          Activity

            People

            Assignee:
            fheidric Felipe Heidrich (Inactive)
            Reporter:
            fheidric Felipe Heidrich (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Imported: