Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Register
  • Sign in
  • D dbus
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
  • Issues 267
    • Issues 267
    • List
    • Boards
    • Service Desk
    • Milestones
  • Custom issue tracker
    • Custom issue tracker
  • Merge requests 36
    • Merge requests 36
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Container Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • dbusdbus
  • dbus
  • Issues
  • #88
Closed
Open
Issue created Aug 27, 2013 by Bugzilla Migration User@bugzilla-migration

various thread-safety issues involving static variables

Submitted by Simon McVittie

Assigned to Simon McVittie

Link to original bug (#68610)

Description

Created attachment 84714 _dbus_get_tmpdir: be thread-safe

Sharing a static variable between threads is not safe in general, and this function is used in the shared libdbus (for nonce files), so it can't rely on being single-threaded.


This patch probably only applies to master. For dbus-1.6, we can have a simpler patch, because _DBUS_LOCK() can't fail.

Patch 84714, "_dbus_get_tmpdir: be thread-safe":
0001-_dbus_get_tmpdir-be-thread-safe.patch

Version: 1.5

Assignee
Assign to
Time tracking