[Users] [Bug 4730] New: oauth2: fix string handling in oauth2_contact_server

noreply at thewildbeast.co.uk noreply at thewildbeast.co.uk
Mon Jan 8 17:47:43 UTC 2024


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

            Bug ID: 4730
           Summary: oauth2: fix string handling in oauth2_contact_server
           Product: Claws Mail (GTK 2)
           Version: GIT
          Hardware: PC
                OS: All
            Status: NEW
          Severity: normal
          Priority: P3
         Component: Other
          Assignee: users at lists.claws-mail.org
          Reporter: olaf at aepfle.de

Created attachment 2388
  -->
https://www.thewildbeast.co.uk/claws-mail/bugzilla/attachment.cgi?id=2388&action=edit
gtk2-oauth2-fix-string-handling-in-oauth2_contact_server.patch

The functions read and recv write arbitrary data into the provided buffer. The
caller of oauth2_contact_server expects an ordinary C string.

Update the function to convert the received data into a C string. Move the
function to remove the requirement for a function declaration. Update callers
for the new prototype.

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


More information about the Users mailing list