Page MenuHome GnuPG

libgcrypt: Remove GCRYCTL_ENABLE_M_GUARD support (was: _gcry_private_malloc returns 4-byte alignment memory when use_m_guard==1)
Open, NormalPublic

Description

EXTRA_ALIGN should be fixed, to match ABI of the machine.

In C11, we have max_align_t.
Usually, it's long double.

Event Timeline

Instead, let us remove the feature.

gniibe renamed this task from libgcrypt: _gcry_private_malloc returns 4-byte alignment memory when use_m_guard==1 to libgcrypt: Remove GCRYCTL_ENABLE_M_GUARD support (was: _gcry_private_malloc returns 4-byte alignment memory when use_m_guard==1).Feb 10 2022, 1:19 AM

It was addressed in rC04f325d8917d: released 1.1.4 as "(obsolete)" feature, in Aug 2001.

gniibe triaged this task as Normal priority.Feb 18 2022, 1:01 AM