Results from clang analyzer
Closed, ResolvedPublic


Here are some results from clang's static analyzer. Maybe they are worth to have a look:

Bug GroupBug TypeFileFunction/MethodLinePath Length
APIArgument with 'nonnull' attribute passed nullsrc/sysutils.c_gpgrt_setenv1838
Dead storeDead assignmentsrc/estream-printf.cpr_string12071
Logic errorDereference of null pointersrc/argparse.cinitialize2136
Logic errorDereference of null pointersrc/logging.cfun_writer27312
Logic errorDereference of null pointersrc/estream.cdo_list_remove46629
Memory errorMemory leaktests/t-b64.ctest_b64dec_string16212
stm created this task.Sep 7 2019, 6:10 PM
stm added a comment.Sep 7 2019, 6:17 PM

Oh, this report is about libgpg-error.

werner triaged this task as Normal priority.
dkg added a subscriber: dkg.Sep 9 2019, 4:34 PM

@stm -- thank you for this!

gniibe claimed this task.Sep 18 2019, 9:21 AM
gniibe added a subscriber: gniibe.

I take this so that libgpg-error can be released soon.

For argparse.c, it can be only stopped with nonnull attribute for the API, I suppose.

gniibe closed this task as Resolved.Dec 6 2019, 5:11 AM