Page MenuHomeFreeBSD

Pull in all non-srandom, non-pledge patches from OpenBSD
ClosedPublic

Authored by imp on Sep 15 2017, 1:46 PM.
Tags
None
Referenced Files
F108389259: D12379.diff
Fri, Jan 24, 9:45 AM
Unknown Object (File)
Mon, Jan 6, 11:50 PM
Unknown Object (File)
Dec 11 2024, 7:20 PM
Unknown Object (File)
Dec 8 2024, 11:54 AM
Unknown Object (File)
Nov 25 2024, 3:48 AM
Unknown Object (File)
Nov 24 2024, 4:47 AM
Unknown Object (File)
Nov 23 2024, 3:50 AM
Unknown Object (File)
Nov 22 2024, 7:22 AM
Subscribers
None

Details

Summary

Fix uninitialized variable

echo | awk 'BEGIN {i=$1; print i}' prints a boatload of stack
garbage. NUL terminate the memory returned from malloc to prevent it.

Obtained from: OpenBSD run.c 1.40
Sponsored by: Netflix

Fix %c for floating values that become 0 when coerced to int.

Obtained from: OpenBSD run.c 1.36 (From Jeremy Devenport)
Sponsored by: Netflix, Inc

Don't display empty error context.

Context extraction didn't handle this case and showed uninitialized memory.

Obtained from: OpenBSD lib.c 1.21
Sponsored by: Netflix

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

This revision was automatically updated to reflect the committed changes.