Menu

#2256 ckpt: memory leak in saCkptCheckpointRead

5.0.2
fixed
None
defect
ckpt
-
major
2017-01-16
2017-01-10
No

Memory leak in saCkptCheckpointRead() when cpa_proc_build_data_access_evt() fails.

==27461== 64 bytes in 1 blocks are definitely lost in loss record 8 of 13
==27461== at 0x4C2AB80: malloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==27461== by 0x4E46A9F: cpa_proc_build_data_access_evt (cpa_proc.c:1129)
==27461== by 0x4E4187F: saCkptCheckpointRead (cpa_api.c:3934)
==27461== by 0x1289CF: test_ckptRead (test_cpa_util.c:1169)
==27461== by 0x11D8CF: cpsv_it_read_07 (test_cpa.c:5474)
==27461== by 0x12B78E: run_test_case (utest.c:175)
==27461== by 0x12B78E: test_run (utest.c:202)
==27461== by 0x5513F44: (below main) (libc-start.c:287)
==27461==
==27461== 64 bytes in 1 blocks are definitely lost in loss record 9 of 13
==27461== at 0x4C2AB80: malloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==27461== by 0x4E46A9F: cpa_proc_build_data_access_evt (cpa_proc.c:1129)
==27461== by 0x4E4187F: saCkptCheckpointRead (cpa_api.c:3934)
==27461== by 0x1289CF: test_ckptRead (test_cpa_util.c:1169)
==27461== by 0x11D9FF: cpsv_it_read_08 (test_cpa.c:5513)
==27461== by 0x12B78E: run_test_case (utest.c:175)
==27461== by 0x12B78E: test_run (utest.c:202)
==27461== by 0x5513F44: (below main) (libc-start.c:287)

Related

Tickets: #2256
Wiki: ChangeLog-5.0.2
Wiki: ChangeLog-5.1.1

Discussion

  • Zoran Milinkovic

    • status: unassigned --> review
    • assigned_to: Zoran Milinkovic
     
  • Zoran Milinkovic

    • status: review --> fixed
     
  • Zoran Milinkovic

    opensaf-5.0.x:

    changeset: 8510:f41616a9178d
    branch: opensaf-5.0.x
    parent: 8502:7d45e754bceb
    user: Zoran Milinkovic zoran.milinkovic@ericsson.com
    date: Tue Jan 10 17:24:59 2017 +0100
    summary: ckpt: fix memory leak in saCkptCheckpointRead [#2256]


    opensaf-5.1.x:

    changeset: 8511:8b3444b0c093
    branch: opensaf-5.1.x
    parent: 8508:91f785f97616
    user: Zoran Milinkovic zoran.milinkovic@ericsson.com
    date: Tue Jan 10 17:24:59 2017 +0100
    summary: ckpt: fix memory leak in saCkptCheckpointRead [#2256]


    default(5.2):

    changeset: 8512:ec9463bfc788
    tag: tip
    parent: 8509:c5e08f4e3dbf
    user: Zoran Milinkovic zoran.milinkovic@ericsson.com
    date: Tue Jan 10 17:24:59 2017 +0100
    summary: ckpt: fix memory leak in saCkptCheckpointRead [#2256]

     

    Related

    Tickets: #2256


Log in to post a comment.