https://bugs.openldap.org/show_bug.cgi?id=8988

--- Comment #22 from [email protected] <[email protected]> ---
On Fri, Jun 7, 2019 at 9:59 AM Howard Chu <[email protected]> wrote:
>
> [email protected] wrote:
> > On Fri, Jun 7, 2019 at 9:32 AM Howard Chu <[email protected]> wrote:
> >>
> >> [email protected] wrote:
> >> ...
> >>> I encourage OpenLDAP to fix the undefined behavior. OpenLDAP is an
> >>> important project, and the undefined behavior is causing too many
> >>> tangential problems.
> >>
> >> Undefined behavior is not a bug, nor is it prohibited by the C spec. It is 
> >> a necessary
> >> part of the language for its intended use as a system programming 
> >> language, writing
> >> machine-specific programs. Anyone who says it is prohibited by the spec is 
> >> wrong.

The kernel recently got bitten using the same pattern of unaligned
short pointers through casts. GCC produced code which corrupted
initramfs during unpacking.

See https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100363.

OpenLDAP should fix that code.

-- 
You are receiving this mail because:
You are on the CC list for the issue.

Reply via email to