HomeFreeBSD

Follow up r352244: kenv: tighten up assertions

Description

Follow up r352244: kenv: tighten up assertions

As I like to forget: static kenv var formatting is actually such that an
empty environment would be double null bytes. We should make sure that a
non-zero buffer has at least enough for this, though most of the current
usage is with a 4k buffer.

Details

Provenance
kevansAuthored on
Parents
rS352244: kenv: assert that an empty static buffer passed in is "empty"
Branches
Unknown
Tags
Unknown