Page MenuHomeFreeBSD

bsdinstall: Replace correct, but fragile, string builder with open_memstream.
ClosedPublic

Authored by jhb on Jun 20 2023, 4:33 PM.
Tags
None
Referenced Files
F108811945: D40658.diff
Tue, Jan 28, 5:04 AM
Unknown Object (File)
Sun, Jan 26, 3:53 PM
Unknown Object (File)
Wed, Jan 15, 12:29 AM
Unknown Object (File)
Dec 27 2024, 12:37 AM
Unknown Object (File)
Dec 10 2024, 1:59 PM
Unknown Object (File)
Nov 14 2024, 9:19 PM
Unknown Object (File)
Nov 6 2024, 10:55 PM
Unknown Object (File)
Nov 6 2024, 10:55 PM
Subscribers

Details

Summary

The old one triggered a false positive -Warray-bounds from GCC (the
compiler assumed len was always 0), but it was also fragile with
manually computed lengths paired with strcat vs using a string
builder.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Skipped
Unit
Tests Skipped
Build Status
Buildable 52193
Build 49084: arc lint + arc unit