Donate Share

Uncrustify Code Beautifier

Tracker: Bugs

5 resource leaks - ID: 2819201
Last Update: Settings changed ( bengardner )

For r1589.

1. file uncrustify.cpp in function process_source_list

p_file not not freed at return

2. in function do_source_file at line 1010

Variable "filename_tmp" not freed at return

3. file defines.cpp in function find_define at line 132

p_ret = (const define_tag_t *)bsearch(&tag, dl.p_tags, dl.active,

Using uninitialized value field "tag".value

4.file keywords.cpp function find_keyword

same thing with "tag".value

Tom


tom ( tom324 ) - 2009-07-09 19:46

5

Closed

Fixed

Ben Gardner

None

None

Public


Comment ( 1 )

Date: 2009-07-10 21:11
Sender: bengardnerProject AdminAccepting Donations

1) Fixed in r1590
2) Fixed in r1591 (not freed on error path)
3) tag.value isn't used.
4) tag.tag isn't used.

Thanks,
Ben


Attached File

No Files Currently Attached

Changes ( 5 )

Field Old Value Date By
status_id Open 2009-07-10 21:11 bengardner
resolution_id None 2009-07-10 21:11 bengardner
assigned_to nobody 2009-07-10 21:11 bengardner
allow_comments 1 2009-07-10 21:11 bengardner
close_date - 2009-07-10 21:11 bengardner