libsoup leads to crashes



Hello,

we at subshell.com build an application based on the eclipse rcp, with embedded browsers. We encounter 
crashes of our application on ubuntu because of libsoup.
If I could get write permissions to your git repository at git://git.gnome.org/libsoup, I will fix the bug.

You find the corresponding error report attached.

Here is the relevant patch (in soup-session-feature.c):

void
 soup_session_feature_attach (SoupSessionFeature *feature,
                  SoupSession        *session)
 {
+    if (!feature)
+        return;
+
     SOUP_SESSION_FEATURE_GET_CLASS (feature)->attach (feature, session);
 }
  
void
 soup_session_feature_detach (SoupSessionFeature *feature,
                  SoupSession        *session)
 {
+   if (!feature)
+       return;
+
     SOUP_SESSION_FEATURE_GET_CLASS (feature)->detach (feature, session);
 }


There are some tests which had to be adapted after applying the above patch.

It would be great, if we could solve the bug in libsoup!

Thank you!

Kind regards,

Steffen Kuche

--
subshell GmbH
Steffen Kuche
Hongkongstraße 5               t +49.40.431 362-14
20457 Hamburg                  f +49.40.431 362-29
http://www.subshell.com        kuche subshell com
Geschäftsführung: Jan Boddin & Tom Quellenberg
Handelsregister: Amtsgericht Hamburg, HRB 74783

Attachment: hs_err_pid5341.log
Description: Text Data



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]