Uploaded image for project: 'UGENE'
  1. UGENE
  2. UGENE-7566

Check memory allocation in bam_index.c

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Cannot Reproduce
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None
    • Affect Type:
      Userdefined

      Description

      There are a lot of C-style memory allocation in the "bam_index.c" file. The problem is `calloc` should be checked, if the memory was allocated correctly, but it's not. Need to add these checks and, otherwise, throw the exception.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              kir Kirill Rasputin
              Reporter:
              dsukhomlinov Dmitrii Sukhomlinov
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: