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
Unknown Object (File)
Sat, Jun 22, 7:13 AM
Unknown Object (File)
Thu, Jun 20, 9:05 PM
Unknown Object (File)
May 22 2024, 10:23 AM
Unknown Object (File)
May 18 2024, 12:41 PM
Unknown Object (File)
May 14 2024, 11:10 AM
Unknown Object (File)
May 11 2024, 9:55 AM
Unknown Object (File)
May 11 2024, 9:55 AM
Unknown Object (File)
May 8 2024, 4:58 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

Lint
No Lint Coverage
Unit
No Test Coverage
Build Status
Buildable 11584
Build 11937: arc lint + arc unit

Event Timeline

This revision was automatically updated to reflect the committed changes.