[Commits] [SCM] claws branch, gtk2, updated. 3.19.0-14-gfda91ea07
mones at claws-mail.org
mones at claws-mail.org
Sat May 7 16:41:49 UTC 2022
The branch, gtk2 has been updated
via fda91ea07eef3431e41f31f98340f8297a739650 (commit)
from 2244bd9fb61dd2800415f3b460512a47edb33698 (commit)
Summary of changes:
src/plugins/litehtml_viewer/litehtml/html_tag.cpp | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
- Log -----------------------------------------------------------------
commit fda91ea07eef3431e41f31f98340f8297a739650
Author: Ricardo Mones <ricardo at mones.org>
Date: Sat May 7 18:41:07 2022 +0200
Fix CID 1498793: access the managed object of an empty smart pointer
diff --git a/src/plugins/litehtml_viewer/litehtml/html_tag.cpp b/src/plugins/litehtml_viewer/litehtml/html_tag.cpp
index f3a6b1b39..a992d68a2 100644
--- a/src/plugins/litehtml_viewer/litehtml/html_tag.cpp
+++ b/src/plugins/litehtml_viewer/litehtml/html_tag.cpp
@@ -4269,7 +4269,10 @@ int litehtml::html_tag::render_box(int x, int y, int max_width, bool second_pass
{
for (const auto& fb : m_floats_left)
{
- fb.el->apply_relative_shift(fb.el->parent()->calc_width(m_pos.width));
+ if (fb.el)
+ {
+ fb.el->apply_relative_shift(fb.el->parent()->calc_width(m_pos.width));
+ }
}
}
-----------------------------------------------------------------------
hooks/post-receive
--
Claws Mail
More information about the Commits
mailing list