HomeFreeBSD

ee: Fix use of uninitialised pointer in ispell_op

Description

ee: Fix use of uninitialised pointer in ispell_op

This used to be name = mktemp followed by fd = open downstream,
replacing upstream's crude PID-based sprintf, but in 1.4.7 this was
changed upstream to this buggy code, which we then picked up in the
1.5.0 import. Presumably nobody's actually used ee's ispell function
in the past 15 years; that or it's just ended up using junk file names
as temporary files if name's happened to be a valid address to something
that can be interpreted as a string.

Reported by: Dapeng Gao <dapeng.gao@cl.cam.ac.uk>
Fixes: 96b676e99984 ("Update ee(1) in the base system to version 1.5.0.")
MFC after: 1 week

Details

Provenance
jrtc27Authored on Jun 2 2024, 10:53 PM
Parents
rG28aaa58fa64e: fu740_pci_dw: Fix PERST delay and keep asserted for rest of reset sequence
Branches
Unknown
Tags
Unknown