Fixed findings

List of Findings

Error: COMPILER_WARNING (CWE-477): [#def1]
epiphany-47.0-build/epiphany-47.0/embed/web-process-extension/ephy-web-process-extension.c: scope_hint: In function ‘web_page_context_menu’
epiphany-47.0-build/epiphany-47.0/embed/web-process-extension/ephy-web-process-extension.c:184:3: warning[-Wdeprecated-declarations]: ‘webkit_web_page_get_main_frame’ is deprecated
/usr/include/webkitgtk-6.0/webkit/WebKitWebEditor.h:29: included_from: Included from here.
/usr/include/webkitgtk-6.0/webkit/webkit-web-process-extension.h:39: included_from: Included from here.
epiphany-47.0-build/epiphany-47.0/embed/web-process-extension/ephy-web-process-extension.h:24: included_from: Included from here.
epiphany-47.0-build/epiphany-47.0/embed/web-process-extension/ephy-web-process-extension.c:22: included_from: Included from here.
/usr/include/webkitgtk-6.0/webkit/WebKitWebPage.h:53:1: note: declared here
#  182|      * We need a way to get the right frame to use here.
#  183|      */
#  184|->   frame = webkit_web_page_get_main_frame (web_page);
#  185|     js_context = webkit_frame_get_js_context_for_script_world (frame, extension->script_world);
#  186|   

Error: COMPILER_WARNING (CWE-477): [#def2]
epiphany-47.0-build/epiphany-47.0/embed/web-process-extension/ephy-web-process-extension.c: scope_hint: In function ‘ephy_web_extension_page_user_message_received_cb’
epiphany-47.0-build/epiphany-47.0/embed/web-process-extension/ephy-web-process-extension.c:445:3: warning[-Wdeprecated-declarations]: ‘webkit_web_page_get_main_frame’ is deprecated
/usr/include/webkitgtk-6.0/webkit/WebKitWebPage.h:53:1: note: declared here
#  443|   {
#  444|     const char *name = webkit_user_message_get_name (message);
#  445|->   WebKitFrame *frame = webkit_web_page_get_main_frame (page);
#  446|     g_autoptr (JSCValue) value = NULL;
#  447|   

Error: COMPILER_WARNING (CWE-477): [#def3]
epiphany-47.0-build/epiphany-47.0/embed/web-process-extension/ephy-web-process-extension.c: scope_hint: In function ‘ephy_web_process_extension_page_created_cb’
epiphany-47.0-build/epiphany-47.0/embed/web-process-extension/ephy-web-process-extension.c:494:5: warning[-Wdeprecated-declarations]: ‘webkit_web_page_get_main_frame’ is deprecated
/usr/include/webkitgtk-6.0/webkit/WebKitWebPage.h:53:1: note: declared here
#  492|     if (PAGE_IS_EXTENSION (web_page)) {
#  493|       /* Enforce the creation of the script world global context in the main frame */
#  494|->     js_context = webkit_frame_get_js_context_for_script_world (webkit_web_page_get_main_frame (web_page), webkit_script_world_get_default ());
#  495|       (void)js_context;
#  496|   

Scan Properties

analyzer-version-clippy1.82.0
analyzer-version-cppcheck2.16.0
analyzer-version-gcc14.2.1
analyzer-version-gcc-analyzer15.0.0
analyzer-version-shellcheck0.10.0
analyzer-version-unicontrol0.0.2
diffbase-analyzer-version-clippy1.82.0
diffbase-analyzer-version-cppcheck2.16.0
diffbase-analyzer-version-gcc14.2.1
diffbase-analyzer-version-gcc-analyzer15.0.0
diffbase-analyzer-version-shellcheck0.10.0
diffbase-analyzer-version-unicontrol0.0.2
diffbase-enabled-pluginsclippy, cppcheck, gcc, shellcheck, unicontrol
diffbase-exit-code0
diffbase-hostip-172-16-1-194.us-west-2.compute.internal
diffbase-mock-configfedora-rawhide-gcc-latest-x86_64
diffbase-project-nameepiphany-47.2-1.fc42
diffbase-store-results-to/tmp/tmpvssbtxex/epiphany-47.2-1.fc42.tar.xz
diffbase-time-created2024-11-12 23:49:40
diffbase-time-finished2024-11-12 23:57:52
diffbase-toolcsmock
diffbase-tool-args'/usr/bin/csmock' '-r' 'fedora-rawhide-gcc-latest-x86_64' '-t' 'clippy,cppcheck,gcc,unicontrol,shellcheck' '-o' '/tmp/tmpvssbtxex/epiphany-47.2-1.fc42.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '--install=gcc-latest' '--gcc-analyzer-bin=/opt/gcc-latest/bin/gcc' '/tmp/tmpvssbtxex/epiphany-47.2-1.fc42.src.rpm'
diffbase-tool-versioncsmock-3.7.1.20241107.094801.gb3f0f26.pr_192-1.el9
enabled-pluginsclippy, cppcheck, gcc, shellcheck, unicontrol
exit-code0
hostip-172-16-1-194.us-west-2.compute.internal
mock-configfedora-rawhide-gcc-latest-x86_64
project-nameepiphany-47.0-1.fc41
store-results-to/tmp/tmpy778u163/epiphany-47.0-1.fc41.tar.xz
time-created2024-11-12 23:40:45
time-finished2024-11-12 23:49:25
titleFixed findings
toolcsmock
tool-args'/usr/bin/csmock' '-r' 'fedora-rawhide-gcc-latest-x86_64' '-t' 'clippy,cppcheck,gcc,unicontrol,shellcheck' '-o' '/tmp/tmpy778u163/epiphany-47.0-1.fc41.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '--install=gcc-latest' '--gcc-analyzer-bin=/opt/gcc-latest/bin/gcc' '/tmp/tmpy778u163/epiphany-47.0-1.fc41.src.rpm'
tool-versioncsmock-3.7.1.20241107.094801.gb3f0f26.pr_192-1.el9