Skip to content
GitLab
    • GitLab: the DevOps platform
    • Explore GitLab
    • Install GitLab
    • How GitLab compares
    • Get started
    • GitLab docs
    • GitLab Learn
  • Pricing
  • Talk to an expert
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
    • Switch to GitLab Next
    Projects Groups Topics Snippets
  • Register
  • Sign in
  • GnuTLS GnuTLS
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
    • Locked files
  • Issues 276
    • Issues 276
    • List
    • Boards
    • Service Desk
    • Milestones
    • Iterations
    • Requirements
  • Merge requests 18
    • Merge requests 18
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Artifacts
    • Schedules
    • Test cases
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Model experiments
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • CI/CD
    • Code review
    • Insights
    • Issue
    • Repository
  • Wiki
    • Wiki
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • gnutlsgnutls
  • GnuTLSGnuTLS
  • Issues
  • #1367

mp_set_memory_functions

gnutls 3.7.5 causes alkimia unit tests to fail (Alkimia is here: https://invent.kde.org/office/alkimia ) because alkimia uses gmp, and gnutls 3.7.5 sets the realloc and free via mp_set_memory_functions, but doesn't set an alloc function.

So __gmp_default_alloc is used for alloc, but gnutls_free_zero is used for free operations.

If what's needed is to have a gnutls_alloc function I can take a stab at adding one tomorrow and will put up an MR after testing, etc.

commit 41c9c845 Author: Tobias Heider tobias.heider@canonical.com Date: Mon Mar 14 16:17:28 2022 +0100

Use custom allocators for GMP to make sure temporary secrets
from cryptographic operations in nettle are deleted safely.

Signed-off-by: Tobias Heider <tobias.heider@canonical.com>

is the commit that breaks things btw.

Assignee
Assign to
Time tracking