Uploaded image for project: ' AGL Development'
  1. AGL Development
  2. SPEC-4178

No NULL check after zalloc in agl-compositor

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • Marlin 13.0.0
    • None
    • None
    • Raspberry Pi 4

      There's no NULL check in zalloc .

      In function add_xdg_output_v1_info of clients/screenshooter.c file.

      The pointer xdg_output of the memory is alloced by zalloc.

      Should make a NULL check before use it.

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            AndyZhou Zhou Mingying
            AndyZhou Zhou Mingying
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 1 day, 4 hours
                1d 4h