Clang scan-build bug report for build #3373

GroupTypeFilePath LengthDescription
Memory errorUse of zero allocated/desktop/save_text.c33Use of memory allocated with size zeroDetails
Unused codeDead assignment/desktop/treeview.c1Value stored to 'redraw' is never readDetails
Logic errorResult of operation is garbage or undefined/frontends/gtk/menu.c16The left operand of '!=' is a garbage valueDetails
Logic errorAssigned value is garbage or undefined/desktop/treeview.c38The left expression of the compound assignment is an uninitialized value. The computed value will also be garbageDetails
Logic errorResult of operation is garbage or undefined/frontends/gtk/menu.c25The left operand of '!=' is a garbage valueDetails
Logic errorAssigned value is garbage or undefined/frontends/gtk/resources.c13Assigned value is garbage or undefinedDetails
Memory errorUse-after-free/desktop/treeview.c52Use of memory after it is freedDetails
Unused codeDead assignment/content/handlers/html/form.c1Value stored to 'err' is never readDetails
Unused codeDead assignment/build/Linux-framebuffer/duktape/dom_token_list.c1Value stored to 'exc' is never readDetails
Unused codeDead assignment/desktop/cookie_manager.c1Value stored to 'err' is never readDetails
Memory errorMemory leak/frontends/gtk/download.c20Potential leak of memory pointed to by 'destination'Details
Unused codeDead nested assignment/frontends/monkey/dispatch.c1Although the value stored to 'r' is used in the enclosing expression, the value is never actually read from 'r'Details
Logic errorResult of operation is garbage or undefined/frontends/gtk/menu.c22The left operand of '!=' is a garbage valueDetails
Logic errorDereference of null pointer/content/handlers/html/layout_internal.h45Access to field 'style' results in a dereference of a null pointer (loaded from variable 'b')Details
Unused codeDead nested assignment/content/fetchers/about/chart.c1Although the value stored to 'vallen' is used in the enclosing expression, the value is never actually read from 'vallen'Details
Unused codeDead assignment/content/fetchers/about/chart.c1Value stored to 'kvlen' is never readDetails
Unused codeDead assignment/content/handlers/html/table.c1Value stored to 'a_src' is never readDetails
Unused codeDead assignment/utils/ssl_certs.c1Value stored to 'kvlen' is never readDetails
Unix APIAllocator sizeof operand mismatch/content/fs_backing_store.c1Result of 'malloc' is converted to a pointer of type 'struct store_entry *', which is incompatible with sizeof operand type 'struct state_entry *'Details
Logic errorResult of operation is garbage or undefined/frontends/gtk/menu.c33The left operand of '!=' is a garbage valueDetails
Unused codeDead assignment/desktop/browser_window.c1Value stored to 'res' is never readDetails
Unused codeDead assignment/build/Linux-framebuffer/duktape/dom_token_list.c1Value stored to 'exc' is never readDetails
Logic errorDereference of null pointer/content/handlers/html/box_construct.c34Access to field 'type' results in a dereference of a null pointer (loaded from field 'containing_block')Details
Unused codeDead increment/desktop/treeview.c1Value stored to 'pos' is never readDetails
Logic errorResult of operation is garbage or undefined/frontends/gtk/menu.c25The left operand of '!=' is a garbage valueDetails
Unused codeDead assignment/content/handlers/html/table.c1Value stored to 'a_src' is never readDetails
Unused codeDead assignment/build/Linux-framebuffer/duktape/dom_token_list.c1Value stored to 'exc' is never readDetails
Logic errorResult of operation is garbage or undefined/frontends/gtk/menu.c20The left operand of '!=' is a garbage valueDetails
Memory errorMemory leak/frontends/gtk/download.c20Potential leak of memory pointed to by 'destination'Details
Logic errorDereference of null pointer/content/handlers/html/table.c20Access to field 'parent' results in a dereference of a null pointer (loaded from variable 'row')Details
Memory errorUse-after-free/content/handlers/javascript/duktape/dukky.c55Use of memory after it is freedDetails
Memory errorUse-after-free/utils/talloc.c59Use of memory after it is freedDetails
Logic errorDereference of null pointer/content/handlers/html/layout_flex.c50Access to field 'height' results in a dereference of a null pointer (loaded from variable 'b')Details
Unused codeDead assignment/content/handlers/image/rsvg246.c1Value stored to 'renderres' is never readDetails
Unused codeDead assignment/frontends/framebuffer/gui.c1Value stored to 'widget' is never readDetails
Logic errorResult of operation is garbage or undefined/content/handlers/html/box_inspect.c12The right operand of '-' is a garbage valueDetails
Logic errorDereference of null pointer/content/urldb.c34Access to field 'children' results in a dereference of a null pointer (loaded from variable 'p')Details
Unused codeDead assignment/frontends/framebuffer/fbtk/osk.c1Value stored to 'widget' is never readDetails
Logic errorResult of operation is garbage or undefined/content/handlers/text/textplain.c18The left operand of '==' is a garbage valueDetails
Logic errorUninitialized argument value/content/handlers/html/html.c451st function call argument is an uninitialized valueDetails
Memory errorUse-after-free/frontends/framebuffer/fbtk/fbtk.c16Use of memory after it is freedDetails
Unused codeDead nested assignment/frontends/monkey/dispatch.c1Although the value stored to 'r' is used in the enclosing expression, the value is never actually read from 'r'Details
Unused codeDead nested assignment/content/fetchers/about/chart.c1Although the value stored to 'vallen' is used in the enclosing expression, the value is never actually read from 'vallen'Details
Logic errorResult of operation is garbage or undefined/frontends/gtk/menu.c17The left operand of '!=' is a garbage valueDetails
Unused codeDead assignment/content/textsearch.c1Value stored to 'type' is never readDetails
Memory errorUse-after-free/content/handlers/javascript/duktape/dukky.c43Use of memory after it is freedDetails
Logic errorDivision by zero/content/handlers/html/layout.c36Division by zeroDetails
Unused codeDead assignment/content/handlers/html/form.c1Value stored to 'err' is never readDetails
Unused codeDead assignment/build/Linux-framebuffer/duktape/dom_token_list.c1Value stored to 'exc' is never readDetails
Unused codeDead assignment/build/Linux-framebuffer/duktape/node.c1Value stored to 'exc' is never readDetails
Unused codeDead assignment/desktop/global_history.c1Value stored to 'err' is never readDetails
Logic errorResult of operation is garbage or undefined/frontends/gtk/menu.c17The left operand of '!=' is a garbage valueDetails
Unused codeDead assignment/build/Linux-framebuffer/duktape/dom_settable_token_list.c1Value stored to 'exc' is never readDetails
Memory errorUse-after-free/content/handlers/image/image_cache.c13Use of memory after it is freedDetails