You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi!
Running parfait against 1.3.0 I see the following errors:
Error: Memory leak (CWE 401)
Memory leak of pointer child allocated with realloc(child, (strlen(child) + 2))
at line 149 of components/augeas/augeas-1.3.0/src/augtool.c in function 'readline_path_generator'.
child allocated at line 138 with realloc(child, (strlen(child) + 2)).
Error: Memory leak (CWE 401)
Memory leak of pointer msg allocated with asprintf(&msg, "Failed to open %s", inputfile)
at line 445 of components/augeas/augeas-1.3.0/src/augtool.c in function 'main_loop'.
msg allocated at line 441 with asprintf(&msg, "Failed to open %s", inputfile).
Error: Null pointer dereference (CWE 476)
Read from null pointer bs1
at line 138 of components/augeas/augeas-1.3.0/src/fa.c in function 'bitset_disjoint'.
Function bitset_init may return constant 'NULL' at line 116, called at line 2807 in function 'last_chars'.
Function last_chars may return constant 'NULL' at line 2817, called at line 2842 in function 'is_splittable'.
Constant 'NULL' passed into function bitset_disjoint, argument bs1, from call at line 2843.
Null pointer introduced at line 116 in function 'bitset_init'.
Error: Null pointer dereference (CWE 476)
Read from null pointer bs2
at line 138 of components/augeas/augeas-1.3.0/src/fa.c in function 'bitset_disjoint'.
Function bitset_init may return constant 'NULL' at line 116, called at line 2795 in function 'alphabet'.
Function alphabet may return constant 'NULL' at line 2803, called at line 2848 in function 'is_splittable'.
Constant 'NULL' passed into function bitset_disjoint, argument bs2, from call at line 2850.
Null pointer introduced at line 116 in function 'bitset_init'.
Error: Null pointer dereference (CWE 476)
Write to null pointer ((int_)(((int8_)set) + 16))
at line 504 of components/augeas/augeas-1.3.0/src/fa.c in function 'state_set_init_data'.
Function fa_states may return constant 'NULL' at line 892, called at line 959 in function 'fa_reverse'.
Constant 'NULL' passed into function state_set_init_data, argument set, from call at line 962.
Null pointer introduced at line 892 in function 'fa_states'.
Error: Null pointer dereference (CWE 476)
Read from null pointer ((int_)(((int8_)set) + 16))
at line 504 of components/augeas/augeas-1.3.0/src/fa.c in function 'state_set_init_data'.
Function fa_states may return constant 'NULL' at line 892, called at line 959 in function 'fa_reverse'.
Constant 'NULL' passed into function state_set_init_data, argument set, from call at line 962.
Null pointer introduced at line 892 in function 'fa_states'.
Read from null pointer set
at line 505 of components/augeas/augeas-1.3.0/src/fa.c in function 'state_set_init_data'.
Function fa_states may return constant 'NULL' at line 892, called at line 959 in function 'fa_reverse'.
Constant 'NULL' passed into function state_set_init_data, argument set, from call at line 962.
Null pointer introduced at line 892 in function 'fa_states'.
Error: Null pointer dereference (CWE 476)
Read from null pointer node
at line 1061 of components/augeas/augeas-1.3.0/src/fa.c in function 'state_set_hash_uniq'.
Function hash_lookup may return constant 'NULL' at line 585, called at line 1060.
Null pointer introduced at line 585 of components/augeas/augeas-1.3.0/src/hash.c in function 'hash_lookup'.
Error: Null pointer dereference (CWE 476)
Read from null pointer node
at line 1071 of components/augeas/augeas-1.3.0/src/fa.c in function 'state_set_hash_get_state'.
Function hash_lookup may return constant 'NULL' at line 585, called at line 1070.
Null pointer introduced at line 585 of components/augeas/augeas-1.3.0/src/hash.c in function 'hash_lookup'.
Error: Uninitialised memory (CWE 456)
Possible access to uninitialised memory '&nsigma'
at line 1707 of components/augeas/augeas-1.3.0/src/fa.c in function 'minimize_hopcroft'.
&nsigma allocated at line 1474.
Error: Null pointer dereference (CWE 476)
Write to null pointer tree
at line 805 of components/augeas/augeas-1.3.0/src/get.c in function 'get_subtree'.
Function make_tree may return constant 'NULL' at line 1100, called at line 804.
Null pointer introduced at line 1100 of components/augeas/augeas-1.3.0/src/augeas.c in function 'make_tree'.
Error: Null pointer dereference (CWE 476)
Write to null pointer top
at line 987 of components/augeas/augeas-1.3.0/src/get.c in function 'push_frame'.
Function top_frame may return constant 'NULL' at line 960, called at line 985.
Null pointer introduced at line 960 in function 'top_frame'.
Error: Null pointer dereference (CWE 476)
Write to null pointer
at line 1076 of components/augeas/augeas-1.3.0/src/get.c in function 'visit_enter'.
Function push_frame may return constant 'NULL' at line 990, called at line 1074.
Null pointer introduced at line 990 in function 'push_frame'.
Write to null pointer f
at line 1075 of components/augeas/augeas-1.3.0/src/get.c in function 'visit_enter'.
Function push_frame may return constant 'NULL' at line 990, called at line 1074.
Null pointer introduced at line 990 in function 'push_frame'.
at line 1077 of components/augeas/augeas-1.3.0/src/get.c in function 'visit_enter'.
Function push_frame may return constant 'NULL' at line 990, called at line 1074.
Null pointer introduced at line 990 in function 'push_frame'.
Error: Null pointer dereference (CWE 476)
Write to null pointer
at line 1119 of components/augeas/augeas-1.3.0/src/get.c in function 'get_combine'.
Function push_frame may return constant 'NULL' at line 990, called at line 1118.
Null pointer introduced at line 990 in function 'push_frame'.
at line 1121 of components/augeas/augeas-1.3.0/src/get.c in function 'get_combine'.
Function push_frame may return constant 'NULL' at line 990, called at line 1118.
Null pointer introduced at line 990 in function 'push_frame'.
Write to null pointer top
at line 1120 of components/augeas/augeas-1.3.0/src/get.c in function 'get_combine'.
Function push_frame may return constant 'NULL' at line 990, called at line 1118.
Null pointer introduced at line 990 in function 'push_frame'.
Error: Null pointer dereference (CWE 476)
Write to null pointer
at line 1148 of components/augeas/augeas-1.3.0/src/get.c in function 'parse_combine'.
Function push_frame may return constant 'NULL' at line 990, called at line 1147.
Null pointer introduced at line 990 in function 'push_frame'.
at line 1149 of components/augeas/augeas-1.3.0/src/get.c in function 'parse_combine'.
Function push_frame may return constant 'NULL' at line 990, called at line 1147.
Null pointer introduced at line 990 in function 'push_frame'.
Write to null pointer top
at line 1150 of components/augeas/augeas-1.3.0/src/get.c in function 'parse_combine'.
Function push_frame may return constant 'NULL' at line 990, called at line 1147.
Null pointer introduced at line 990 in function 'push_frame'.
Error: Memory leak (CWE 401)
Memory leak of pointer skel allocated with make_skel(lens)
at line 1152 of components/augeas/augeas-1.3.0/src/get.c in function 'parse_combine'.
skel allocated at line 1128 with make_skel(lens).
skel leaks when i < n at line 1136
and tail->next == NULL at line 1137
and tail->next == NULL at line 1140.
Error: Null pointer dereference (CWE 476)
Read from null pointer
at line 1182 of components/augeas/augeas-1.3.0/src/get.c in function 'visit_exit'.
Function pop_frame may return constant 'NULL' at line 1000, called at line 1179.
Null pointer introduced at line 1000 in function 'pop_frame'.
Read from null pointer top
at line 1180 of components/augeas/augeas-1.3.0/src/get.c in function 'visit_exit'.
Function pop_frame may return constant 'NULL' at line 1000, called at line 1179.
Null pointer introduced at line 1000 in function 'pop_frame'.
at line 1181 of components/augeas/augeas-1.3.0/src/get.c in function 'visit_exit'.
Function pop_frame may return constant 'NULL' at line 1000, called at line 1179.
Null pointer introduced at line 1000 in function 'pop_frame'.
at line 1183 of components/augeas/augeas-1.3.0/src/get.c in function 'visit_exit'.
Function pop_frame may return constant 'NULL' at line 1000, called at line 1179.
Null pointer introduced at line 1000 in function 'pop_frame'.
at line 1195 of components/augeas/augeas-1.3.0/src/get.c in function 'visit_exit'.
Function pop_frame may return constant 'NULL' at line 1000, called at line 1194.
Null pointer introduced at line 1000 in function 'pop_frame'.
at line 1196 of components/augeas/augeas-1.3.0/src/get.c in function 'visit_exit'.
Function pop_frame may return constant 'NULL' at line 1000, called at line 1194.
Null pointer introduced at line 1000 in function 'pop_frame'.
Error: Null pointer dereference (CWE 476)
Write to null pointer
at line 1186 of components/augeas/augeas-1.3.0/src/get.c in function 'visit_exit'.
Function push_frame may return constant 'NULL' at line 990, called at line 1185.
Null pointer introduced at line 990 in function 'push_frame'.
at line 1199 of components/augeas/augeas-1.3.0/src/get.c in function 'visit_exit'.
Function push_frame may return constant 'NULL' at line 990, called at line 1198.
Null pointer introduced at line 990 in function 'push_frame'.
at line 1200 of components/augeas/augeas-1.3.0/src/get.c in function 'visit_exit'.
Function push_frame may return constant 'NULL' at line 990, called at line 1198.
Null pointer introduced at line 990 in function 'push_frame'.
Error: Null pointer dereference (CWE 476)
Read from null pointer top_frame(rec_state)
at line 1229 of components/augeas/augeas-1.3.0/src/get.c in function 'visit_exit'.
Function top_frame may return constant 'NULL' at line 960, called at line 1229.
Null pointer introduced at line 960 in function 'top_frame'.
Error: Null pointer dereference (CWE 476)
Write to null pointer top_frame(rec_state)
at line 1263 of components/augeas/augeas-1.3.0/src/get.c in function 'visit_exit'.
Function top_frame may return constant 'NULL' at line 960, called at line 1263.
Null pointer introduced at line 960 in function 'top_frame'.
Error: Memory leak (CWE 401)
Memory leak of pointer skel allocated with make_skel(lens)
at line 1267 of components/augeas/augeas-1.3.0/src/get.c in function 'visit_exit'.
skel allocated at line 1190 with make_skel(lens).
skel leaks when skel != NULL at line 1191.
Error: Memory leak (CWE 401)
Memory leak of pointer string allocated with ref_make_ref(((int8_)&string), 16, 0)
at line 48 of components/augeas/augeas-1.3.0/src/info.c in function 'dup_string'.
string allocated at line 41 with ref_make_ref(((int8_)&string), 16, 0).
string leaks when string->str == NULL at line 46
and string != NULL at line 47.
Error: Null pointer dereference (CWE 476)
Read from null pointer set_item(parse, set, item)
at line 258 of components/augeas/augeas-1.3.0/src/jmt.c in function 'item_state'.
Function set_item may return constant 'NULL' at line 253, called at line 258.
Null pointer introduced at line 253 in function 'set_item'.
Error: Null pointer dereference (CWE 476)
Read from null pointer set_item(parse, set, item)
at line 266 of components/augeas/augeas-1.3.0/src/jmt.c in function 'item_parent'.
Function set_item may return constant 'NULL' at line 253, called at line 266.
Null pointer introduced at line 253 in function 'set_item'.
Error: Null pointer dereference (CWE 476)
Write to null pointer item
at line 332 of components/augeas/augeas-1.3.0/src/jmt.c in function 'parse_add_item'.
Function set_item may return constant 'NULL' at line 253, called at line 331.
Null pointer introduced at line 253 in function 'set_item'.
at line 333 of components/augeas/augeas-1.3.0/src/jmt.c in function 'parse_add_item'.
Function set_item may return constant 'NULL' at line 253, called at line 331.
Null pointer introduced at line 253 in function 'set_item'.
Error: Null pointer dereference (CWE 476)
Read from null pointer y
at line 589 of components/augeas/augeas-1.3.0/src/jmt.c in function 'parse_dot_link'.
Function set_item may return constant 'NULL' at line 253, called at line 587.
Null pointer introduced at line 253 in function 'set_item'.
at line 600 of components/augeas/augeas-1.3.0/src/jmt.c in function 'parse_dot_link'.
Function set_item may return constant 'NULL' at line 253, called at line 599.
Null pointer introduced at line 253 in function 'set_item'.
at line 609 of components/augeas/augeas-1.3.0/src/jmt.c in function 'parse_dot_link'.
Function set_item may return constant 'NULL' at line 253, called at line 608.
Null pointer introduced at line 253 in function 'set_item'.
at line 620 of components/augeas/augeas-1.3.0/src/jmt.c in function 'parse_dot_link'.
Function set_item may return constant 'NULL' at line 253, called at line 619.
Null pointer introduced at line 253 in function 'set_item'.
Error: Null pointer dereference (CWE 476)
Read from null pointer x
at line 848 of components/augeas/augeas-1.3.0/src/jmt.c in function 'filter_siblings'.
Function set_item may return constant 'NULL' at line 253, called at line 844.
Null pointer introduced at line 253 in function 'set_item'.
Error: Null pointer dereference (CWE 476)
Read from null pointer sib
at line 955 of components/augeas/augeas-1.3.0/src/jmt.c in function 'build_tree'.
Function set_item may return constant 'NULL' at line 253, called at line 954.
Null pointer introduced at line 253 in function 'set_item'.
Read from null pointer x
at line 931 of components/augeas/augeas-1.3.0/src/jmt.c in function 'build_tree'.
Function set_item may return constant 'NULL' at line 253, called at line 930.
Null pointer introduced at line 253 in function 'set_item'.
at line 945 of components/augeas/augeas-1.3.0/src/jmt.c in function 'build_tree'.
Function set_item may return constant 'NULL' at line 253, called at line 930.
Null pointer introduced at line 253 in function 'set_item'.
Error: Null pointer dereference (CWE 476)
Read from null pointer x
at line 973 of components/augeas/augeas-1.3.0/src/jmt.c in function 'build_children'.
Function set_item may return constant 'NULL' at line 253, called at line 972.
Null pointer introduced at line 253 in function 'set_item'.
Error: Null pointer dereference (CWE 476)
Read from null pointer x
at line 1021 of components/augeas/augeas-1.3.0/src/jmt.c in function 'jmt_visit'.
Function set_item may return constant 'NULL' at line 253, called at line 1020.
Null pointer introduced at line 253 in function 'set_item'.
Error: Null pointer dereference (CWE 476)
Write to null pointer ini->state
at line 1814 of components/augeas/augeas-1.3.0/src/jmt.c in function 'determinize'.
Function make_state may return constant 'NULL' at line 1075, called at line 1813.
Null pointer introduced at line 1075 in function 'make_state'.
Error: Null pointer dereference (CWE 476)
Read from null pointer lens
at line 237 of components/augeas/augeas-1.3.0/src/lens.c in function 'make_lens_value'.
Function make_lens_binop may return constant 'NULL' at line 232, called at line 255 in function 'lns_make_union'.
Constant 'NULL' passed into function make_lens_value, argument lens, from call at line 259.
Null pointer introduced at line 232 in function 'make_lens_binop'.
Error: Null pointer dereference (CWE 476)
Write to null pointer ((int_)(((int8_)lens) + 56))
at line 256 of components/augeas/augeas-1.3.0/src/lens.c in function 'lns_make_union'.
Function make_lens_binop may return constant 'NULL' at line 232, called at line 255.
Null pointer introduced at line 232 in function 'make_lens_binop'.
Error: Null pointer dereference (CWE 476)
Read from null pointer ((int_)(((int8_)lens) + 56))
at line 256 of components/augeas/augeas-1.3.0/src/lens.c in function 'lns_make_union'.
Function make_lens_binop may return constant 'NULL' at line 232, called at line 255.
Null pointer introduced at line 232 in function 'make_lens_binop'.
Error: Null pointer dereference (CWE 476)
Read from null pointer ((int_)(((int8_)lens) + 56))
at line 282 of components/augeas/augeas-1.3.0/src/lens.c in function 'lns_make_concat'.
Function make_lens_binop may return constant 'NULL' at line 232, called at line 281.
Null pointer introduced at line 232 in function 'make_lens_binop'.
Error: Null pointer dereference (CWE 476)
Write to null pointer ((int_)(((int8_)lens) + 56))
at line 282 of components/augeas/augeas-1.3.0/src/lens.c in function 'lns_make_concat'.
Function make_lens_binop may return constant 'NULL' at line 232, called at line 281.
Null pointer introduced at line 232 in function 'make_lens_binop'.
Error: Null pointer dereference (CWE 476)
Read from null pointer star
at line 376 of components/augeas/augeas-1.3.0/src/lens.c in function 'lns_make_plus'.
Function make_exn_value may return constant 'NULL' at line 414, called at line 359 in function 'lns_make_star'.
Function lns_make_star may return constant 'NULL' at line 359, called at line 375 in function 'lns_make_plus'.
Null pointer introduced at line 414 of components/augeas/augeas-1.3.0/src/syntax.c in function 'make_exn_value'.
Error: Null pointer dereference (CWE 476)
Read from null pointer res
at line 483 of components/augeas/augeas-1.3.0/src/lens.c in function 'lns_make_square'.
Function make_exn_value may return constant 'NULL' at line 414, called at line 278 in function 'lns_make_concat'.
Function lns_make_concat may return constant 'NULL' at line 278, called at line 482 in function 'lns_make_square'.
Null pointer introduced at line 414 of components/augeas/augeas-1.3.0/src/syntax.c in function 'make_exn_value'.
at line 487 of components/augeas/augeas-1.3.0/src/lens.c in function 'lns_make_square'.
Function make_exn_value may return constant 'NULL' at line 414, called at line 278 in function 'lns_make_concat'.
Function lns_make_concat may return constant 'NULL' at line 278, called at line 486 in function 'lns_make_square'.
Null pointer introduced at line 414 of components/augeas/augeas-1.3.0/src/syntax.c in function 'make_exn_value'.
Error: Memory leak (CWE 401)
Memory leak of pointer label allocated with xasprintf(&label, "e%d", p)
at line 1558 of components/augeas/augeas-1.3.0/src/lens.c in function 'rtn_dot'.
label allocated at line 1532 with xasprintf(&label, "e%d", p).
Memory leak of pointer label allocated with xasprintf(&label, "s%d", p)
at line 1558 of components/augeas/augeas-1.3.0/src/lens.c in function 'rtn_dot'.
label allocated at line 1530 with xasprintf(&label, "s%d", p).
Error: Null pointer dereference (CWE 476)
Read from null pointer v
at line 550 of components/augeas/augeas-1.3.0/src/pathx.c in function 'clone_value'.
Function lookup_var may return constant 'NULL' at line 1293, called at line 1297 in function 'eval_var'.
Constant 'NULL' passed into function clone_value, argument v, from call at line 1298.
Null pointer introduced at line 1293 in function 'lookup_var'.
Error: Null pointer dereference (CWE 476)
Read from null pointer
at line 656 of components/augeas/augeas-1.3.0/src/pathx.c in function 'func_count'.
Function pop_value may return constant 'NULL' at line 594, called at line 655.
Null pointer introduced at line 594 in function 'pop_value'.
Error: Null pointer dereference (CWE 476)
Read from null pointer v
at line 686 of components/augeas/augeas-1.3.0/src/pathx.c in function 'func_int'.
Function pop_value may return constant 'NULL' at line 594, called at line 685.
Null pointer introduced at line 594 in function 'pop_value'.
Error: Null pointer dereference (CWE 476)
Read from null pointer v
at line 763 of components/augeas/augeas-1.3.0/src/pathx.c in function 'func_regexp_or_glob'.
Function pop_value may return constant 'NULL' at line 594, called at line 760.
Null pointer introduced at line 594 in function 'pop_value'.
Error: Null pointer dereference (CWE 476)
Read from null pointer
at line 801 of components/augeas/augeas-1.3.0/src/pathx.c in function 'func_regexp_flag'.
Function pop_value may return constant 'NULL' at line 594, called at line 799.
Null pointer introduced at line 594 in function 'pop_value'.
Error: Null pointer dereference (CWE 476)
Read from null pointer v
at line 815 of components/augeas/augeas-1.3.0/src/pathx.c in function 'coerce_to_bool'.
Function pop_value may return constant 'NULL' at line 594, called at line 953 in function 'eval_and_or'.
Constant 'NULL' passed into function coerce_to_bool, argument v, from call at line 954.
Null pointer introduced at line 594 in function 'pop_value'.
Error: Null pointer dereference (CWE 476)
Read from null pointer l
at line 874 of components/augeas/augeas-1.3.0/src/pathx.c in function 'eval_eq'.
Function pop_value may return constant 'NULL' at line 594, called at line 871.
Null pointer introduced at line 594 in function 'pop_value'.
Error: Null pointer dereference (CWE 476)
Read from null pointer v
at line 1045 of components/augeas/augeas-1.3.0/src/pathx.c in function 'eval_re_match'.
Function pop_value may return constant 'NULL' at line 594, called at line 1041.
Null pointer introduced at line 594 in function 'pop_value'.
Error: Null pointer dereference (CWE 476)
Read from null pointer v
at line 1127 of components/augeas/augeas-1.3.0/src/pathx.c in function 'eval_pred'.
Function pop_value may return constant 'NULL' at line 594, called at line 1126.
Null pointer introduced at line 594 in function 'pop_value'.
Error: Null pointer dereference (CWE 476)
Read from null pointer info
at line 143 of components/augeas/augeas-1.3.0/src/syntax.c in function 'fatal_error'.
Constant 'NULL' passed into function fatal_error, argument info, from call at line 1906 in function 'define_native_intl'.
Null pointer introduced at line 1906.
Error: Memory leak (CWE 401)
Memory leak of pointer pointer allocated with ref_make_ref(((int8_)&b), 40, 0)
at line 597 of components/augeas/augeas-1.3.0/src/syntax.c in function 'bind_param'.
pointer allocated at line 591 with ref_make_ref(((int8_)&b), 40, 0).
Error: Null pointer dereference (CWE 476)
Write to null pointer b
at line 614 of components/augeas/augeas-1.3.0/src/syntax.c in function 'bind'.
Function bind_type may return constant 'NULL' at line 577, called at line 613.
Null pointer introduced at line 577 in function 'bind_type'.
Error: Uninitialised memory (CWE 456)
Possible access to uninitialised memory '&argv'
at line 1040 of components/augeas/augeas-1.3.0/src/syntax.c in function 'native_call'.
&argv allocated at line 1026.
&argv uninitialised when (func->argc - 1) < 0 at line 1030.
at line 1043 of components/augeas/augeas-1.3.0/src/syntax.c in function 'native_call'.
&argv allocated at line 1026.
&argv uninitialised when (func->argc - 1) < 0 at line 1030.
at line 1046 of components/augeas/augeas-1.3.0/src/syntax.c in function 'native_call'.
&argv allocated at line 1026.
&argv uninitialised when (func->argc - 1) < 0 at line 1030.
at line 1049 of components/augeas/augeas-1.3.0/src/syntax.c in function 'native_call'.
&argv allocated at line 1026.
&argv uninitialised when (func->argc - 1) < 0 at line 1030.
at line 1052 of components/augeas/augeas-1.3.0/src/syntax.c in function 'native_call'.
&argv allocated at line 1026.
&argv uninitialised when (func->argc - 1) < 0 at line 1030.
Possible access to uninitialised memory '(&argv + 1)'
at line 1043 of components/augeas/augeas-1.3.0/src/syntax.c in function 'native_call'.
(&argv + 1) allocated at line 1026.
(&argv + 1) uninitialised when (func->argc - 1) < 0 at line 1030.
at line 1046 of components/augeas/augeas-1.3.0/src/syntax.c in function 'native_call'.
(&argv + 1) allocated at line 1026.
(&argv + 1) uninitialised when (func->argc - 1) < 0 at line 1030.
at line 1049 of components/augeas/augeas-1.3.0/src/syntax.c in function 'native_call'.
(&argv + 1) allocated at line 1026.
(&argv + 1) uninitialised when (func->argc - 1) < 0 at line 1030.
at line 1052 of components/augeas/augeas-1.3.0/src/syntax.c in function 'native_call'.
(&argv + 1) allocated at line 1026.
(&argv + 1) uninitialised when (func->argc - 1) < 0 at line 1030.
Possible access to uninitialised memory '(&argv + 2)'
at line 1046 of components/augeas/augeas-1.3.0/src/syntax.c in function 'native_call'.
(&argv + 2) allocated at line 1026.
(&argv + 2) uninitialised when (func->argc - 1) < 0 at line 1030.
at line 1049 of components/augeas/augeas-1.3.0/src/syntax.c in function 'native_call'.
(&argv + 2) allocated at line 1026.
(&argv + 2) uninitialised when (func->argc - 1) < 0 at line 1030.
at line 1052 of components/augeas/augeas-1.3.0/src/syntax.c in function 'native_call'.
(&argv + 2) allocated at line 1026.
(&argv + 2) uninitialised when (func->argc - 1) < 0 at line 1030.
Possible access to uninitialised memory '(&argv + 3)'
at line 1049 of components/augeas/augeas-1.3.0/src/syntax.c in function 'native_call'.
(&argv + 3) allocated at line 1026.
(&argv + 3) uninitialised when (func->argc - 1) < 0 at line 1030.
at line 1052 of components/augeas/augeas-1.3.0/src/syntax.c in function 'native_call'.
(&argv + 3) allocated at line 1026.
(&argv + 3) uninitialised when (func->argc - 1) < 0 at line 1030.
Possible access to uninitialised memory '(&argv + 4)'
at line 1052 of components/augeas/augeas-1.3.0/src/syntax.c in function 'native_call'.
(&argv + 4) allocated at line 1026.
(&argv + 4) uninitialised when (func->argc - 1) < 0 at line 1030.
Error: Null pointer dereference (CWE 476)
Read from null pointer v1
at line 1391 of components/augeas/augeas-1.3.0/src/syntax.c in function 'compile_union'.
Function make_exn_value may return constant 'NULL' at line 414, called at line 962 in function 'coerce'.
Function coerce may return constant 'NULL' at line 962, called at line 1390 in function 'compile_union'.
Null pointer introduced at line 414 in function 'make_exn_value'.
Read from null pointer v2
at line 1394 of components/augeas/augeas-1.3.0/src/syntax.c in function 'compile_union'.
Function make_exn_value may return constant 'NULL' at line 414, called at line 962 in function 'coerce'.
Function coerce may return constant 'NULL' at line 962, called at line 1393 in function 'compile_union'.
Null pointer introduced at line 414 in function 'make_exn_value'.
Error: Null pointer dereference (CWE 476)
Write to null pointer func
at line 1470 of components/augeas/augeas-1.3.0/src/syntax.c in function 'compile_compose'.
Function make_param may return constant 'NULL' at line 338, called at line 1468.
Null pointer introduced at line 338 in function 'make_param'.
Error: Null pointer dereference (CWE 476)
Read from null pointer
at line 1473 of components/augeas/augeas-1.3.0/src/syntax.c in function 'compile_compose'.
Function make_param may return constant 'NULL' at line 338, called at line 1468.
Null pointer introduced at line 338 in function 'make_param'.
at line 1474 of components/augeas/augeas-1.3.0/src/syntax.c in function 'compile_compose'.
Function make_param may return constant 'NULL' at line 338, called at line 1468.
Null pointer introduced at line 338 in function 'make_param'.
Read from null pointer func
at line 1482 of components/augeas/augeas-1.3.0/src/syntax.c in function 'compile_compose'.
Function make_param may return constant 'NULL' at line 338, called at line 1468.
Null pointer introduced at line 338 in function 'make_param'.
Error: Memory leak (CWE 401)
Memory leak of pointer info allocated with ref_make_ref(((int8_)&info), 32, 24)
at line 1839 of components/augeas/augeas-1.3.0/src/syntax.c in function 'make_native_info'.
info allocated at line 1828 with ref_make_ref(((int8_)&info), 32, 24).
info leaks when info != NULL at line 1838
and (info->ref + -1) != 0 at line 1838.
Error: Memory leak (CWE 401)
Memory leak of pointer info allocated with ref_make_ref(((int8_)&info), 32, 24)
at line 601 of components/augeas/augeas-1.3.0/src/transform.c in function 'load_file'.
info allocated at line 559 with ref_make_ref(((int8_)&info), 32, 24).
info leaks when (aug->flags & 128) == 0 at line 566
and info != info at line 573
and (info->ref + -1) != 0 at line 573.
Error: Memory leak (CWE 401)
Memory leak of pointer l allocated with strdup("error")
at line 709 of components/augeas/augeas-1.3.0/src/transform.c in function 'xfm_error'.
l allocated at line 706 with strdup("error").
l leaks when l != NULL at line 708.
Error: Memory leak (CWE 401)
Memory leak of pointer pointer allocated with strdup(msg)
at line 709 of components/augeas/augeas-1.3.0/src/transform.c in function 'xfm_error'.
pointer allocated at line 705 with strdup(msg).
pointer leaks when l == NULL at line 708.
Error: Buffer overrun
Read outside array bounds (CWE 125): In array dereference of yyrhs[(yyprhs[yyrule] + yyi)] with index (yyprhs[yyrule] + yyi)
Array size is 188 bytes, index >= 0 and index <= 193
at line 1067 of components/augeas/build/amd64/src/parser.c in function 'yy_reduce_print'.
Error: Uninitialised memory (CWE 456)
Possible access to uninitialised memory '&yyarg[yyi]'
at line 1333 of components/augeas/build/amd64/src/parser.c in function 'yysyntax_error'.
&yyarg[yyi] allocated at line 1228.
&yyarg[yyi] uninitialised when yytoken == -2 at line 1260
and yyi < yycount at line 1331.
Error: Memory leak (CWE 401)
Memory leak of pointer sname allocated with ref_make_ref(((int8_)&sname), 16, 0)
at line 392 of components/augeas/build/amd64/src/parser.y in function 'augl_parse_file'.
sname allocated at line 356 with ref_make_ref(((int8_)&sname), 16, 0).
sname leaks when sname != NULL at line 390.
The text was updated successfully, but these errors were encountered:
Hi!
Running parfait against 1.3.0 I see the following errors:
Error: Memory leak (CWE 401)
Memory leak of pointer child allocated with realloc(child, (strlen(child) + 2))
at line 149 of components/augeas/augeas-1.3.0/src/augtool.c in function 'readline_path_generator'.
child allocated at line 138 with realloc(child, (strlen(child) + 2)).
Error: Memory leak (CWE 401)
Memory leak of pointer msg allocated with asprintf(&msg, "Failed to open %s", inputfile)
at line 445 of components/augeas/augeas-1.3.0/src/augtool.c in function 'main_loop'.
msg allocated at line 441 with asprintf(&msg, "Failed to open %s", inputfile).
Error: Null pointer dereference (CWE 476)
Read from null pointer bs1
at line 138 of components/augeas/augeas-1.3.0/src/fa.c in function 'bitset_disjoint'.
Function bitset_init may return constant 'NULL' at line 116, called at line 2807 in function 'last_chars'.
Function last_chars may return constant 'NULL' at line 2817, called at line 2842 in function 'is_splittable'.
Constant 'NULL' passed into function bitset_disjoint, argument bs1, from call at line 2843.
Null pointer introduced at line 116 in function 'bitset_init'.
Error: Null pointer dereference (CWE 476)
Read from null pointer bs2
at line 138 of components/augeas/augeas-1.3.0/src/fa.c in function 'bitset_disjoint'.
Function bitset_init may return constant 'NULL' at line 116, called at line 2795 in function 'alphabet'.
Function alphabet may return constant 'NULL' at line 2803, called at line 2848 in function 'is_splittable'.
Constant 'NULL' passed into function bitset_disjoint, argument bs2, from call at line 2850.
Null pointer introduced at line 116 in function 'bitset_init'.
Error: Null pointer dereference (CWE 476)
Write to null pointer ((int_)(((int8_)set) + 16))
at line 504 of components/augeas/augeas-1.3.0/src/fa.c in function 'state_set_init_data'.
Function fa_states may return constant 'NULL' at line 892, called at line 959 in function 'fa_reverse'.
Constant 'NULL' passed into function state_set_init_data, argument set, from call at line 962.
Null pointer introduced at line 892 in function 'fa_states'.
Error: Null pointer dereference (CWE 476)
Read from null pointer ((int_)(((int8_)set) + 16))
at line 504 of components/augeas/augeas-1.3.0/src/fa.c in function 'state_set_init_data'.
Function fa_states may return constant 'NULL' at line 892, called at line 959 in function 'fa_reverse'.
Constant 'NULL' passed into function state_set_init_data, argument set, from call at line 962.
Null pointer introduced at line 892 in function 'fa_states'.
Read from null pointer set
at line 505 of components/augeas/augeas-1.3.0/src/fa.c in function 'state_set_init_data'.
Function fa_states may return constant 'NULL' at line 892, called at line 959 in function 'fa_reverse'.
Constant 'NULL' passed into function state_set_init_data, argument set, from call at line 962.
Null pointer introduced at line 892 in function 'fa_states'.
Error: Null pointer dereference (CWE 476)
Read from null pointer node
at line 1061 of components/augeas/augeas-1.3.0/src/fa.c in function 'state_set_hash_uniq'.
Function hash_lookup may return constant 'NULL' at line 585, called at line 1060.
Null pointer introduced at line 585 of components/augeas/augeas-1.3.0/src/hash.c in function 'hash_lookup'.
Error: Null pointer dereference (CWE 476)
Read from null pointer node
at line 1071 of components/augeas/augeas-1.3.0/src/fa.c in function 'state_set_hash_get_state'.
Function hash_lookup may return constant 'NULL' at line 585, called at line 1070.
Null pointer introduced at line 585 of components/augeas/augeas-1.3.0/src/hash.c in function 'hash_lookup'.
Error: Uninitialised memory (CWE 456)
Possible access to uninitialised memory '&nsigma'
at line 1707 of components/augeas/augeas-1.3.0/src/fa.c in function 'minimize_hopcroft'.
&nsigma allocated at line 1474.
Error: Null pointer dereference (CWE 476)
Write to null pointer tree
at line 805 of components/augeas/augeas-1.3.0/src/get.c in function 'get_subtree'.
Function make_tree may return constant 'NULL' at line 1100, called at line 804.
Null pointer introduced at line 1100 of components/augeas/augeas-1.3.0/src/augeas.c in function 'make_tree'.
Error: Null pointer dereference (CWE 476)
Write to null pointer top
at line 987 of components/augeas/augeas-1.3.0/src/get.c in function 'push_frame'.
Function top_frame may return constant 'NULL' at line 960, called at line 985.
Null pointer introduced at line 960 in function 'top_frame'.
Error: Null pointer dereference (CWE 476)
Write to null pointer
at line 1076 of components/augeas/augeas-1.3.0/src/get.c in function 'visit_enter'.
Function push_frame may return constant 'NULL' at line 990, called at line 1074.
Null pointer introduced at line 990 in function 'push_frame'.
Write to null pointer f
at line 1075 of components/augeas/augeas-1.3.0/src/get.c in function 'visit_enter'.
Function push_frame may return constant 'NULL' at line 990, called at line 1074.
Null pointer introduced at line 990 in function 'push_frame'.
at line 1077 of components/augeas/augeas-1.3.0/src/get.c in function 'visit_enter'.
Function push_frame may return constant 'NULL' at line 990, called at line 1074.
Null pointer introduced at line 990 in function 'push_frame'.
Error: Null pointer dereference (CWE 476)
Write to null pointer
at line 1119 of components/augeas/augeas-1.3.0/src/get.c in function 'get_combine'.
Function push_frame may return constant 'NULL' at line 990, called at line 1118.
Null pointer introduced at line 990 in function 'push_frame'.
at line 1121 of components/augeas/augeas-1.3.0/src/get.c in function 'get_combine'.
Function push_frame may return constant 'NULL' at line 990, called at line 1118.
Null pointer introduced at line 990 in function 'push_frame'.
Write to null pointer top
at line 1120 of components/augeas/augeas-1.3.0/src/get.c in function 'get_combine'.
Function push_frame may return constant 'NULL' at line 990, called at line 1118.
Null pointer introduced at line 990 in function 'push_frame'.
Error: Null pointer dereference (CWE 476)
Write to null pointer
at line 1148 of components/augeas/augeas-1.3.0/src/get.c in function 'parse_combine'.
Function push_frame may return constant 'NULL' at line 990, called at line 1147.
Null pointer introduced at line 990 in function 'push_frame'.
at line 1149 of components/augeas/augeas-1.3.0/src/get.c in function 'parse_combine'.
Function push_frame may return constant 'NULL' at line 990, called at line 1147.
Null pointer introduced at line 990 in function 'push_frame'.
Write to null pointer top
at line 1150 of components/augeas/augeas-1.3.0/src/get.c in function 'parse_combine'.
Function push_frame may return constant 'NULL' at line 990, called at line 1147.
Null pointer introduced at line 990 in function 'push_frame'.
Error: Memory leak (CWE 401)
Memory leak of pointer skel allocated with make_skel(lens)
at line 1152 of components/augeas/augeas-1.3.0/src/get.c in function 'parse_combine'.
skel allocated at line 1128 with make_skel(lens).
skel leaks when i < n at line 1136
and tail->next == NULL at line 1137
and tail->next == NULL at line 1140.
Error: Null pointer dereference (CWE 476)
Read from null pointer
at line 1182 of components/augeas/augeas-1.3.0/src/get.c in function 'visit_exit'.
Function pop_frame may return constant 'NULL' at line 1000, called at line 1179.
Null pointer introduced at line 1000 in function 'pop_frame'.
Read from null pointer top
at line 1180 of components/augeas/augeas-1.3.0/src/get.c in function 'visit_exit'.
Function pop_frame may return constant 'NULL' at line 1000, called at line 1179.
Null pointer introduced at line 1000 in function 'pop_frame'.
at line 1181 of components/augeas/augeas-1.3.0/src/get.c in function 'visit_exit'.
Function pop_frame may return constant 'NULL' at line 1000, called at line 1179.
Null pointer introduced at line 1000 in function 'pop_frame'.
at line 1183 of components/augeas/augeas-1.3.0/src/get.c in function 'visit_exit'.
Function pop_frame may return constant 'NULL' at line 1000, called at line 1179.
Null pointer introduced at line 1000 in function 'pop_frame'.
at line 1195 of components/augeas/augeas-1.3.0/src/get.c in function 'visit_exit'.
Function pop_frame may return constant 'NULL' at line 1000, called at line 1194.
Null pointer introduced at line 1000 in function 'pop_frame'.
at line 1196 of components/augeas/augeas-1.3.0/src/get.c in function 'visit_exit'.
Function pop_frame may return constant 'NULL' at line 1000, called at line 1194.
Null pointer introduced at line 1000 in function 'pop_frame'.
Error: Null pointer dereference (CWE 476)
Write to null pointer
at line 1186 of components/augeas/augeas-1.3.0/src/get.c in function 'visit_exit'.
Function push_frame may return constant 'NULL' at line 990, called at line 1185.
Null pointer introduced at line 990 in function 'push_frame'.
at line 1199 of components/augeas/augeas-1.3.0/src/get.c in function 'visit_exit'.
Function push_frame may return constant 'NULL' at line 990, called at line 1198.
Null pointer introduced at line 990 in function 'push_frame'.
at line 1200 of components/augeas/augeas-1.3.0/src/get.c in function 'visit_exit'.
Function push_frame may return constant 'NULL' at line 990, called at line 1198.
Null pointer introduced at line 990 in function 'push_frame'.
Error: Null pointer dereference (CWE 476)
Read from null pointer top_frame(rec_state)
at line 1229 of components/augeas/augeas-1.3.0/src/get.c in function 'visit_exit'.
Function top_frame may return constant 'NULL' at line 960, called at line 1229.
Null pointer introduced at line 960 in function 'top_frame'.
Error: Null pointer dereference (CWE 476)
Write to null pointer top_frame(rec_state)
at line 1263 of components/augeas/augeas-1.3.0/src/get.c in function 'visit_exit'.
Function top_frame may return constant 'NULL' at line 960, called at line 1263.
Null pointer introduced at line 960 in function 'top_frame'.
Error: Memory leak (CWE 401)
Memory leak of pointer skel allocated with make_skel(lens)
at line 1267 of components/augeas/augeas-1.3.0/src/get.c in function 'visit_exit'.
skel allocated at line 1190 with make_skel(lens).
skel leaks when skel != NULL at line 1191.
Error: Memory leak (CWE 401)
Memory leak of pointer string allocated with ref_make_ref(((int8_)&string), 16, 0)
at line 48 of components/augeas/augeas-1.3.0/src/info.c in function 'dup_string'.
string allocated at line 41 with ref_make_ref(((int8_)&string), 16, 0).
string leaks when string->str == NULL at line 46
and string != NULL at line 47.
Error: Null pointer dereference (CWE 476)
Read from null pointer set_item(parse, set, item)
at line 258 of components/augeas/augeas-1.3.0/src/jmt.c in function 'item_state'.
Function set_item may return constant 'NULL' at line 253, called at line 258.
Null pointer introduced at line 253 in function 'set_item'.
Error: Null pointer dereference (CWE 476)
Read from null pointer set_item(parse, set, item)
at line 266 of components/augeas/augeas-1.3.0/src/jmt.c in function 'item_parent'.
Function set_item may return constant 'NULL' at line 253, called at line 266.
Null pointer introduced at line 253 in function 'set_item'.
Error: Null pointer dereference (CWE 476)
Write to null pointer item
at line 332 of components/augeas/augeas-1.3.0/src/jmt.c in function 'parse_add_item'.
Function set_item may return constant 'NULL' at line 253, called at line 331.
Null pointer introduced at line 253 in function 'set_item'.
at line 333 of components/augeas/augeas-1.3.0/src/jmt.c in function 'parse_add_item'.
Function set_item may return constant 'NULL' at line 253, called at line 331.
Null pointer introduced at line 253 in function 'set_item'.
Error: Null pointer dereference (CWE 476)
Read from null pointer y
at line 589 of components/augeas/augeas-1.3.0/src/jmt.c in function 'parse_dot_link'.
Function set_item may return constant 'NULL' at line 253, called at line 587.
Null pointer introduced at line 253 in function 'set_item'.
at line 600 of components/augeas/augeas-1.3.0/src/jmt.c in function 'parse_dot_link'.
Function set_item may return constant 'NULL' at line 253, called at line 599.
Null pointer introduced at line 253 in function 'set_item'.
at line 609 of components/augeas/augeas-1.3.0/src/jmt.c in function 'parse_dot_link'.
Function set_item may return constant 'NULL' at line 253, called at line 608.
Null pointer introduced at line 253 in function 'set_item'.
at line 620 of components/augeas/augeas-1.3.0/src/jmt.c in function 'parse_dot_link'.
Function set_item may return constant 'NULL' at line 253, called at line 619.
Null pointer introduced at line 253 in function 'set_item'.
Error: Null pointer dereference (CWE 476)
Read from null pointer x
at line 848 of components/augeas/augeas-1.3.0/src/jmt.c in function 'filter_siblings'.
Function set_item may return constant 'NULL' at line 253, called at line 844.
Null pointer introduced at line 253 in function 'set_item'.
Error: Null pointer dereference (CWE 476)
Read from null pointer sib
at line 955 of components/augeas/augeas-1.3.0/src/jmt.c in function 'build_tree'.
Function set_item may return constant 'NULL' at line 253, called at line 954.
Null pointer introduced at line 253 in function 'set_item'.
Read from null pointer x
at line 931 of components/augeas/augeas-1.3.0/src/jmt.c in function 'build_tree'.
Function set_item may return constant 'NULL' at line 253, called at line 930.
Null pointer introduced at line 253 in function 'set_item'.
at line 945 of components/augeas/augeas-1.3.0/src/jmt.c in function 'build_tree'.
Function set_item may return constant 'NULL' at line 253, called at line 930.
Null pointer introduced at line 253 in function 'set_item'.
Error: Null pointer dereference (CWE 476)
Read from null pointer x
at line 973 of components/augeas/augeas-1.3.0/src/jmt.c in function 'build_children'.
Function set_item may return constant 'NULL' at line 253, called at line 972.
Null pointer introduced at line 253 in function 'set_item'.
Error: Null pointer dereference (CWE 476)
Read from null pointer x
at line 1021 of components/augeas/augeas-1.3.0/src/jmt.c in function 'jmt_visit'.
Function set_item may return constant 'NULL' at line 253, called at line 1020.
Null pointer introduced at line 253 in function 'set_item'.
Error: Null pointer dereference (CWE 476)
Write to null pointer ini->state
at line 1814 of components/augeas/augeas-1.3.0/src/jmt.c in function 'determinize'.
Function make_state may return constant 'NULL' at line 1075, called at line 1813.
Null pointer introduced at line 1075 in function 'make_state'.
Error: Null pointer dereference (CWE 476)
Read from null pointer lens
at line 237 of components/augeas/augeas-1.3.0/src/lens.c in function 'make_lens_value'.
Function make_lens_binop may return constant 'NULL' at line 232, called at line 255 in function 'lns_make_union'.
Constant 'NULL' passed into function make_lens_value, argument lens, from call at line 259.
Null pointer introduced at line 232 in function 'make_lens_binop'.
Error: Null pointer dereference (CWE 476)
Write to null pointer ((int_)(((int8_)lens) + 56))
at line 256 of components/augeas/augeas-1.3.0/src/lens.c in function 'lns_make_union'.
Function make_lens_binop may return constant 'NULL' at line 232, called at line 255.
Null pointer introduced at line 232 in function 'make_lens_binop'.
Error: Null pointer dereference (CWE 476)
Read from null pointer ((int_)(((int8_)lens) + 56))
at line 256 of components/augeas/augeas-1.3.0/src/lens.c in function 'lns_make_union'.
Function make_lens_binop may return constant 'NULL' at line 232, called at line 255.
Null pointer introduced at line 232 in function 'make_lens_binop'.
Error: Null pointer dereference (CWE 476)
Read from null pointer ((int_)(((int8_)lens) + 56))
at line 282 of components/augeas/augeas-1.3.0/src/lens.c in function 'lns_make_concat'.
Function make_lens_binop may return constant 'NULL' at line 232, called at line 281.
Null pointer introduced at line 232 in function 'make_lens_binop'.
Error: Null pointer dereference (CWE 476)
Write to null pointer ((int_)(((int8_)lens) + 56))
at line 282 of components/augeas/augeas-1.3.0/src/lens.c in function 'lns_make_concat'.
Function make_lens_binop may return constant 'NULL' at line 232, called at line 281.
Null pointer introduced at line 232 in function 'make_lens_binop'.
Error: Null pointer dereference (CWE 476)
Read from null pointer star
at line 376 of components/augeas/augeas-1.3.0/src/lens.c in function 'lns_make_plus'.
Function make_exn_value may return constant 'NULL' at line 414, called at line 359 in function 'lns_make_star'.
Function lns_make_star may return constant 'NULL' at line 359, called at line 375 in function 'lns_make_plus'.
Null pointer introduced at line 414 of components/augeas/augeas-1.3.0/src/syntax.c in function 'make_exn_value'.
Error: Null pointer dereference (CWE 476)
Read from null pointer res
at line 483 of components/augeas/augeas-1.3.0/src/lens.c in function 'lns_make_square'.
Function make_exn_value may return constant 'NULL' at line 414, called at line 278 in function 'lns_make_concat'.
Function lns_make_concat may return constant 'NULL' at line 278, called at line 482 in function 'lns_make_square'.
Null pointer introduced at line 414 of components/augeas/augeas-1.3.0/src/syntax.c in function 'make_exn_value'.
at line 487 of components/augeas/augeas-1.3.0/src/lens.c in function 'lns_make_square'.
Function make_exn_value may return constant 'NULL' at line 414, called at line 278 in function 'lns_make_concat'.
Function lns_make_concat may return constant 'NULL' at line 278, called at line 486 in function 'lns_make_square'.
Null pointer introduced at line 414 of components/augeas/augeas-1.3.0/src/syntax.c in function 'make_exn_value'.
Error: Memory leak (CWE 401)
Memory leak of pointer label allocated with xasprintf(&label, "e%d", p)
at line 1558 of components/augeas/augeas-1.3.0/src/lens.c in function 'rtn_dot'.
label allocated at line 1532 with xasprintf(&label, "e%d", p).
Memory leak of pointer label allocated with xasprintf(&label, "s%d", p)
at line 1558 of components/augeas/augeas-1.3.0/src/lens.c in function 'rtn_dot'.
label allocated at line 1530 with xasprintf(&label, "s%d", p).
Error: Null pointer dereference (CWE 476)
Read from null pointer v
at line 550 of components/augeas/augeas-1.3.0/src/pathx.c in function 'clone_value'.
Function lookup_var may return constant 'NULL' at line 1293, called at line 1297 in function 'eval_var'.
Constant 'NULL' passed into function clone_value, argument v, from call at line 1298.
Null pointer introduced at line 1293 in function 'lookup_var'.
Error: Null pointer dereference (CWE 476)
Read from null pointer
at line 656 of components/augeas/augeas-1.3.0/src/pathx.c in function 'func_count'.
Function pop_value may return constant 'NULL' at line 594, called at line 655.
Null pointer introduced at line 594 in function 'pop_value'.
Error: Null pointer dereference (CWE 476)
Read from null pointer v
at line 686 of components/augeas/augeas-1.3.0/src/pathx.c in function 'func_int'.
Function pop_value may return constant 'NULL' at line 594, called at line 685.
Null pointer introduced at line 594 in function 'pop_value'.
Error: Null pointer dereference (CWE 476)
Read from null pointer v
at line 763 of components/augeas/augeas-1.3.0/src/pathx.c in function 'func_regexp_or_glob'.
Function pop_value may return constant 'NULL' at line 594, called at line 760.
Null pointer introduced at line 594 in function 'pop_value'.
Error: Null pointer dereference (CWE 476)
Read from null pointer
at line 801 of components/augeas/augeas-1.3.0/src/pathx.c in function 'func_regexp_flag'.
Function pop_value may return constant 'NULL' at line 594, called at line 799.
Null pointer introduced at line 594 in function 'pop_value'.
Error: Null pointer dereference (CWE 476)
Read from null pointer v
at line 815 of components/augeas/augeas-1.3.0/src/pathx.c in function 'coerce_to_bool'.
Function pop_value may return constant 'NULL' at line 594, called at line 953 in function 'eval_and_or'.
Constant 'NULL' passed into function coerce_to_bool, argument v, from call at line 954.
Null pointer introduced at line 594 in function 'pop_value'.
Error: Null pointer dereference (CWE 476)
Read from null pointer l
at line 874 of components/augeas/augeas-1.3.0/src/pathx.c in function 'eval_eq'.
Function pop_value may return constant 'NULL' at line 594, called at line 871.
Null pointer introduced at line 594 in function 'pop_value'.
Error: Null pointer dereference (CWE 476)
Read from null pointer v
at line 1045 of components/augeas/augeas-1.3.0/src/pathx.c in function 'eval_re_match'.
Function pop_value may return constant 'NULL' at line 594, called at line 1041.
Null pointer introduced at line 594 in function 'pop_value'.
Error: Null pointer dereference (CWE 476)
Read from null pointer v
at line 1127 of components/augeas/augeas-1.3.0/src/pathx.c in function 'eval_pred'.
Function pop_value may return constant 'NULL' at line 594, called at line 1126.
Null pointer introduced at line 594 in function 'pop_value'.
Error: Null pointer dereference (CWE 476)
Read from null pointer info
at line 143 of components/augeas/augeas-1.3.0/src/syntax.c in function 'fatal_error'.
Constant 'NULL' passed into function fatal_error, argument info, from call at line 1906 in function 'define_native_intl'.
Null pointer introduced at line 1906.
Error: Memory leak (CWE 401)
Memory leak of pointer pointer allocated with ref_make_ref(((int8_)&b), 40, 0)
at line 597 of components/augeas/augeas-1.3.0/src/syntax.c in function 'bind_param'.
pointer allocated at line 591 with ref_make_ref(((int8_)&b), 40, 0).
Error: Null pointer dereference (CWE 476)
Write to null pointer b
at line 614 of components/augeas/augeas-1.3.0/src/syntax.c in function 'bind'.
Function bind_type may return constant 'NULL' at line 577, called at line 613.
Null pointer introduced at line 577 in function 'bind_type'.
Error: Uninitialised memory (CWE 456)
Possible access to uninitialised memory '&argv'
at line 1040 of components/augeas/augeas-1.3.0/src/syntax.c in function 'native_call'.
&argv allocated at line 1026.
&argv uninitialised when (func->argc - 1) < 0 at line 1030.
at line 1043 of components/augeas/augeas-1.3.0/src/syntax.c in function 'native_call'.
&argv allocated at line 1026.
&argv uninitialised when (func->argc - 1) < 0 at line 1030.
at line 1046 of components/augeas/augeas-1.3.0/src/syntax.c in function 'native_call'.
&argv allocated at line 1026.
&argv uninitialised when (func->argc - 1) < 0 at line 1030.
at line 1049 of components/augeas/augeas-1.3.0/src/syntax.c in function 'native_call'.
&argv allocated at line 1026.
&argv uninitialised when (func->argc - 1) < 0 at line 1030.
at line 1052 of components/augeas/augeas-1.3.0/src/syntax.c in function 'native_call'.
&argv allocated at line 1026.
&argv uninitialised when (func->argc - 1) < 0 at line 1030.
Possible access to uninitialised memory '(&argv + 1)'
at line 1043 of components/augeas/augeas-1.3.0/src/syntax.c in function 'native_call'.
(&argv + 1) allocated at line 1026.
(&argv + 1) uninitialised when (func->argc - 1) < 0 at line 1030.
at line 1046 of components/augeas/augeas-1.3.0/src/syntax.c in function 'native_call'.
(&argv + 1) allocated at line 1026.
(&argv + 1) uninitialised when (func->argc - 1) < 0 at line 1030.
at line 1049 of components/augeas/augeas-1.3.0/src/syntax.c in function 'native_call'.
(&argv + 1) allocated at line 1026.
(&argv + 1) uninitialised when (func->argc - 1) < 0 at line 1030.
at line 1052 of components/augeas/augeas-1.3.0/src/syntax.c in function 'native_call'.
(&argv + 1) allocated at line 1026.
(&argv + 1) uninitialised when (func->argc - 1) < 0 at line 1030.
Possible access to uninitialised memory '(&argv + 2)'
at line 1046 of components/augeas/augeas-1.3.0/src/syntax.c in function 'native_call'.
(&argv + 2) allocated at line 1026.
(&argv + 2) uninitialised when (func->argc - 1) < 0 at line 1030.
at line 1049 of components/augeas/augeas-1.3.0/src/syntax.c in function 'native_call'.
(&argv + 2) allocated at line 1026.
(&argv + 2) uninitialised when (func->argc - 1) < 0 at line 1030.
at line 1052 of components/augeas/augeas-1.3.0/src/syntax.c in function 'native_call'.
(&argv + 2) allocated at line 1026.
(&argv + 2) uninitialised when (func->argc - 1) < 0 at line 1030.
Possible access to uninitialised memory '(&argv + 3)'
at line 1049 of components/augeas/augeas-1.3.0/src/syntax.c in function 'native_call'.
(&argv + 3) allocated at line 1026.
(&argv + 3) uninitialised when (func->argc - 1) < 0 at line 1030.
at line 1052 of components/augeas/augeas-1.3.0/src/syntax.c in function 'native_call'.
(&argv + 3) allocated at line 1026.
(&argv + 3) uninitialised when (func->argc - 1) < 0 at line 1030.
Possible access to uninitialised memory '(&argv + 4)'
at line 1052 of components/augeas/augeas-1.3.0/src/syntax.c in function 'native_call'.
(&argv + 4) allocated at line 1026.
(&argv + 4) uninitialised when (func->argc - 1) < 0 at line 1030.
Error: Null pointer dereference (CWE 476)
Read from null pointer v1
at line 1391 of components/augeas/augeas-1.3.0/src/syntax.c in function 'compile_union'.
Function make_exn_value may return constant 'NULL' at line 414, called at line 962 in function 'coerce'.
Function coerce may return constant 'NULL' at line 962, called at line 1390 in function 'compile_union'.
Null pointer introduced at line 414 in function 'make_exn_value'.
Read from null pointer v2
at line 1394 of components/augeas/augeas-1.3.0/src/syntax.c in function 'compile_union'.
Function make_exn_value may return constant 'NULL' at line 414, called at line 962 in function 'coerce'.
Function coerce may return constant 'NULL' at line 962, called at line 1393 in function 'compile_union'.
Null pointer introduced at line 414 in function 'make_exn_value'.
Error: Null pointer dereference (CWE 476)
Write to null pointer func
at line 1470 of components/augeas/augeas-1.3.0/src/syntax.c in function 'compile_compose'.
Function make_param may return constant 'NULL' at line 338, called at line 1468.
Null pointer introduced at line 338 in function 'make_param'.
Error: Null pointer dereference (CWE 476)
Read from null pointer
at line 1473 of components/augeas/augeas-1.3.0/src/syntax.c in function 'compile_compose'.
Function make_param may return constant 'NULL' at line 338, called at line 1468.
Null pointer introduced at line 338 in function 'make_param'.
at line 1474 of components/augeas/augeas-1.3.0/src/syntax.c in function 'compile_compose'.
Function make_param may return constant 'NULL' at line 338, called at line 1468.
Null pointer introduced at line 338 in function 'make_param'.
Read from null pointer func
at line 1482 of components/augeas/augeas-1.3.0/src/syntax.c in function 'compile_compose'.
Function make_param may return constant 'NULL' at line 338, called at line 1468.
Null pointer introduced at line 338 in function 'make_param'.
Error: Memory leak (CWE 401)
Memory leak of pointer info allocated with ref_make_ref(((int8_)&info), 32, 24)
at line 1839 of components/augeas/augeas-1.3.0/src/syntax.c in function 'make_native_info'.
info allocated at line 1828 with ref_make_ref(((int8_)&info), 32, 24).
info leaks when info != NULL at line 1838
and (info->ref + -1) != 0 at line 1838.
Error: Memory leak (CWE 401)
Memory leak of pointer info allocated with ref_make_ref(((int8_)&info), 32, 24)
at line 601 of components/augeas/augeas-1.3.0/src/transform.c in function 'load_file'.
info allocated at line 559 with ref_make_ref(((int8_)&info), 32, 24).
info leaks when (aug->flags & 128) == 0 at line 566
and info != info at line 573
and (info->ref + -1) != 0 at line 573.
Error: Memory leak (CWE 401)
Memory leak of pointer l allocated with strdup("error")
at line 709 of components/augeas/augeas-1.3.0/src/transform.c in function 'xfm_error'.
l allocated at line 706 with strdup("error").
l leaks when l != NULL at line 708.
Error: Memory leak (CWE 401)
Memory leak of pointer pointer allocated with strdup(msg)
at line 709 of components/augeas/augeas-1.3.0/src/transform.c in function 'xfm_error'.
pointer allocated at line 705 with strdup(msg).
pointer leaks when l == NULL at line 708.
Error: Buffer overrun
Read outside array bounds (CWE 125): In array dereference of yyrhs[(yyprhs[yyrule] + yyi)] with index (yyprhs[yyrule] + yyi)
Array size is 188 bytes, index >= 0 and index <= 193
at line 1067 of components/augeas/build/amd64/src/parser.c in function 'yy_reduce_print'.
Error: Uninitialised memory (CWE 456)
Possible access to uninitialised memory '&yyarg[yyi]'
at line 1333 of components/augeas/build/amd64/src/parser.c in function 'yysyntax_error'.
&yyarg[yyi] allocated at line 1228.
&yyarg[yyi] uninitialised when yytoken == -2 at line 1260
and yyi < yycount at line 1331.
Error: Memory leak (CWE 401)
Memory leak of pointer sname allocated with ref_make_ref(((int8_)&sname), 16, 0)
at line 392 of components/augeas/build/amd64/src/parser.y in function 'augl_parse_file'.
sname allocated at line 356 with ref_make_ref(((int8_)&sname), 16, 0).
sname leaks when sname != NULL at line 390.
The text was updated successfully, but these errors were encountered: