Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 641000 Details for
Bug 874730
NULL pointer dereferencing and missing break found by Coverity
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
List of all defects added in gdb-7.2-60.el6
gdb.added.err (text/plain), 5.40 KB, created by
Ondrej Oprala
on 2012-11-08 18:16:30 UTC
(
hide
)
Description:
List of all defects added in gdb-7.2-60.el6
Filename:
MIME Type:
Creator:
Ondrej Oprala
Created:
2012-11-08 18:16:30 UTC
Size:
5.40 KB
patch
obsolete
>Error: CHECKED_RETURN: >/builddir/build/BUILD/gdb-7.2/gdb/breakpoint.c:11336: check_return: Calling function "VEC_char_ptr_iterate(VEC_char_ptr const *, unsigned int, char_ptr *)" without checking return value (as is done elsewhere 8 out of 9 times). >/builddir/build/BUILD/gdb-7.2/gdb/auto-load.c:765: example_checked: "VEC_char_ptr_iterate(vec, ix, &dir)" has its value checked in "VEC_char_ptr_iterate(vec, ix, &dir)". >/builddir/build/BUILD/gdb-7.2/gdb/charset.c:883: example_checked: "VEC_char_ptr_iterate(charsets, ix, &elt)" has its value checked in "VEC_char_ptr_iterate(charsets, ix, &elt)". >/builddir/build/BUILD/gdb-7.2/gdb/tracepoint.c:2767: example_checked: "VEC_char_ptr_iterate(utp->actions, a, &act)" has its value checked in "VEC_char_ptr_iterate(utp->actions, a, &act)". >/builddir/build/BUILD/gdb-7.2/gdb/tracepoint.c:2785: example_checked: "VEC_char_ptr_iterate(utp->cmd_strings, a, &act)" has its value checked in "VEC_char_ptr_iterate(utp->cmd_strings, a, &act)". >/builddir/build/BUILD/gdb-7.2/gdb/utils.c:4091: example_checked: "VEC_char_ptr_iterate(char_ptr_vec, ix, &name)" has its value checked in "VEC_char_ptr_iterate(char_ptr_vec, ix, &name)". >/builddir/build/BUILD/gdb-7.2/gdb/breakpoint.c:11336: unchecked_value: No check of the return value of "VEC_char_ptr_iterate(this_utp->cmd_strings, next_cmd, &rslt)". > >Error: FORWARD_NULL: >/builddir/build/BUILD/gdb-7.2/gdb/printcmd.c:808: assign_zero: Assigning: "val_type" = "NULL". >/builddir/build/BUILD/gdb-7.2/gdb/printcmd.c:823: cond_false: Condition "format == 'i'", taking false branch >/builddir/build/BUILD/gdb-7.2/gdb/printcmd.c:824: if_end: End of if statement >/builddir/build/BUILD/gdb-7.2/gdb/printcmd.c:826: cond_false: Condition "size == 'a'", taking false branch >/builddir/build/BUILD/gdb-7.2/gdb/printcmd.c:839: if_end: End of if statement >/builddir/build/BUILD/gdb-7.2/gdb/printcmd.c:841: cond_false: Condition "size == 'b'", taking false branch >/builddir/build/BUILD/gdb-7.2/gdb/printcmd.c:843: else_branch: Reached else branch >/builddir/build/BUILD/gdb-7.2/gdb/printcmd.c:843: cond_false: Condition "size == 'h'", taking false branch >/builddir/build/BUILD/gdb-7.2/gdb/printcmd.c:845: else_branch: Reached else branch >/builddir/build/BUILD/gdb-7.2/gdb/printcmd.c:845: cond_false: Condition "size == 'w'", taking false branch >/builddir/build/BUILD/gdb-7.2/gdb/printcmd.c:847: else_branch: Reached else branch >/builddir/build/BUILD/gdb-7.2/gdb/printcmd.c:847: cond_false: Condition "size == 'g'", taking false branch >/builddir/build/BUILD/gdb-7.2/gdb/printcmd.c:848: if_end: End of if statement >/builddir/build/BUILD/gdb-7.2/gdb/printcmd.c:850: cond_false: Condition "format == 's'", taking false branch >/builddir/build/BUILD/gdb-7.2/gdb/printcmd.c:870: if_end: End of if statement >/builddir/build/BUILD/gdb-7.2/gdb/printcmd.c:873: cond_false: Condition "size == 'w'", taking false branch >/builddir/build/BUILD/gdb-7.2/gdb/printcmd.c:874: if_end: End of if statement >/builddir/build/BUILD/gdb-7.2/gdb/printcmd.c:875: cond_false: Condition "size == 'g'", taking false branch >/builddir/build/BUILD/gdb-7.2/gdb/printcmd.c:876: if_end: End of if statement >/builddir/build/BUILD/gdb-7.2/gdb/printcmd.c:877: cond_false: Condition "format == 's'", taking false branch >/builddir/build/BUILD/gdb-7.2/gdb/printcmd.c:877: cond_false: Condition "format == 'i'", taking false branch >/builddir/build/BUILD/gdb-7.2/gdb/printcmd.c:878: if_end: End of if statement >/builddir/build/BUILD/gdb-7.2/gdb/printcmd.c:885: cond_true: Condition "count > 0", taking true branch >/builddir/build/BUILD/gdb-7.2/gdb/printcmd.c:887: cond_true: Condition "quit_flag", taking true branch >/builddir/build/BUILD/gdb-7.2/gdb/printcmd.c:887: cond_false: Condition "!quit_flag_cleanup", taking false branch >/builddir/build/BUILD/gdb-7.2/gdb/printcmd.c:887: if_end: End of if statement >/builddir/build/BUILD/gdb-7.2/gdb/printcmd.c:887: cond_true: Condition "deprecated_interactive_hook", taking true branch >/builddir/build/BUILD/gdb-7.2/gdb/printcmd.c:888: cond_false: Condition "format == 'i'", taking false branch >/builddir/build/BUILD/gdb-7.2/gdb/printcmd.c:889: if_end: End of if statement >/builddir/build/BUILD/gdb-7.2/gdb/printcmd.c:892: cond_true: Condition "i > 0", taking true branch >/builddir/build/BUILD/gdb-7.2/gdb/printcmd.c:892: cond_true: Condition "count > 0", taking true branch >/builddir/build/BUILD/gdb-7.2/gdb/printcmd.c:901: cond_true: Condition "last_examine_value", taking true branch >/builddir/build/BUILD/gdb-7.2/gdb/printcmd.c:913: var_deref_model: Passing null pointer "val_type" to function "value_at_lazy(struct type *, CORE_ADDR)", which dereferences it. >/builddir/build/BUILD/gdb-7.2/gdb/valops.c:972:3: deref_parm_in_call: Function "get_value_at(struct type *, CORE_ADDR, int)" dereferences "type". >/builddir/build/BUILD/gdb-7.2/gdb/valops.c:930:3: cond_false: Condition "check_typedef(type)->main_type->code == TYPE_CODE_VOID", taking false branch >/builddir/build/BUILD/gdb-7.2/gdb/valops.c:931:5: if_end: End of if statement >/builddir/build/BUILD/gdb-7.2/gdb/valops.c:933:3: cond_true: Condition "lazy", taking true branch >/builddir/build/BUILD/gdb-7.2/gdb/valops.c:935:7: deref_parm_in_call: Function "allocate_value_lazy(struct type *)" dereferences "type". >/builddir/build/BUILD/gdb-7.2/gdb/value.c:268:3: deref_parm: Directly dereferencing parameter "type". > >Error: UNUSED_VALUE: >/builddir/build/BUILD/gdb-7.2/gdb/stabsread.c:2110: returned_pointer: Pointer "rettype" returned by "init_type(TYPE_CODE_INT, 4L, 64, "unsigned", objfile)" is never used.
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 874730
: 641000