Ticket #2028 (accepted defect) — at Version 6

Opened 14 years ago

Last modified 14 years ago

in-hexC-missing-check-and-g_free

Reported by: vit_r Owned by: andrew_b
Priority: major Milestone: 4.7.1
Component: mc-search Version: master
Keywords: Cc:
Blocked By: Blocking:
Branch state: Votes for changeset: angel_il

Description (last modified by andrew_b) (diff)

lib/search/hex.c
n mc_searchhex_translate_to_regex ():

  • missing check of g_strdup_printf() return
  • missing g_free (tmp_str);

Change History

comment:1 follow-up: ↓ 2 Changed 14 years ago by andrew_b

  • Description modified (diff)

Patch contains memory leaks in lines 66 and 78.

Changed 14 years ago by vit_r

comment:2 in reply to: ↑ 1 Changed 14 years ago by vit_r

Replying to andrew_b:

Patch contains memory leaks in lines 66 and 78.

Thanks
My fall
Hope You meant this (replaced patch)

comment:3 Changed 14 years ago by andrew_b

  • Status changed from new to accepted
  • Owner set to andrew_b
  • severity changed from no branch to on review

Cretaed 2028_hex_search_memleak branch. Parent branch is master.
changeset:b732b6f07f2e5756003e8974499a880bd75cd2d8

comment:4 Changed 14 years ago by andrew_b

  • Priority changed from trivial to major

comment:5 Changed 14 years ago by angel_il

  • Votes for changeset set to angel_il

comment:6 Changed 14 years ago by andrew_b

  • Description modified (diff)

Fixed comment and rebased to current master.
changeset:2dab612a897a7bf23de1592c9dec68025cf2de01

Note: See TracTickets for help on using tickets.