[Users] [Bug 3977] New: Fix crashes when some external APIs fail

noreply at thewildbeast.co.uk noreply at thewildbeast.co.uk
Wed Feb 28 05:53:33 CET 2018


http://www.thewildbeast.co.uk/claws-mail/bugzilla/show_bug.cgi?id=3977

            Bug ID: 3977
           Summary: Fix crashes when some external APIs fail
    Classification: Unclassified
           Product: Claws Mail
           Version: 3.16.0
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: major
          Priority: P3
         Component: Plugins
          Assignee: users at lists.claws-mail.org
          Reporter: jiazhouyang09 at gmail.com

Created attachment 1849
  -->
http://www.thewildbeast.co.uk/claws-mail/bugzilla/attachment.cgi?id=1849&action=edit
patch of the potential API bugs

Hi,

I'm a PhD student. I analyzed the claws source code and found some potential
API bugs that may cause crashes.

These crashes are mainly caused by insufficient error handling of API functions
like curl_easy_perform, gdk_keyboard_grab or pthread_create.

I think it's unsafe to assume the library function would be correct. It would
be better if we could handle the error properly.

Attached please find the patch against version claws-mail-3.16.0. Hopefully, it
can solve these potential bugs.

Best,
Zhouyang

-- 
You are receiving this mail because:
You are the assignee for the bug.



More information about the Users mailing list