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

malloc return value not check in img_colors.c

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • 1.4.0
    • 1.2.0
    • client-libs
    • None
    • 2d
    • beta
    • generic
    • generic


      img_colors.c: init_virt_cmap() does not check return value of malloc
      [sysMalloc].

      This can cause a platform to crash if it ain't got enough memory!


      The malloc should also be a sysMalloc.

            tdv Dmitri Trembovetski (Inactive)
            duke J. Duke
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: