Skip to content

GitLab

  • Menu
Projects Groups Snippets
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • pan pan
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 90
    • Issues 90
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 1
    • Merge requests 1
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • GNOME
  • panpan
  • Merge requests
  • !5

The source project of this merge request has been removed.
Closed
Created Apr 23, 2019 by Detlef Graef@dgraefContributor
  • Report abuse
Report abuse

Two patches for gmime-3 build

  • Overview 0
  • Changes 3

The Merge Request contains two patches:

  • Pan can now be build with both options: --with-gmime30 and --with-gmime-crypto
  • Fix for a segfault in gmime-3 lib (Issue #77 (closed))

There is at least one more bug which causes a segfault in libgmime-3.0.

The following call is causing the segfault: https://gitlab.gnome.org/GNOME/pan/blob/master/pan/usenet-utils/mime-utils.cc#L1151 messages[i] = g_mime_parser_construct_message(parser, NULL);

From an example from the author of the GMime-Lib: https://github.com/jstedfast/gmime/blob/master/examples/imap-example.c

message = g_mime_parser_construct_message (parser, NULL);

It's ok to pass NULL for GMimeParserOptions. See also: https://developer.gnome.org/gmime/stable/GMimeParser.html#g-mime-parser-construct-message

I've tried to pass GMimeParserOptions with default settings and with modified settings, the segfault still occurs.

These fixes will affect only the gmime-3 build.

Assignee
Assign to
Reviewer
Request review from
Time tracking
Source branch: master