HomeFreeBSD

[drm] fix up hex_dump_to_buffer to not overflow linebuf.

Description

[drm] fix up hex_dump_to_buffer to not overflow linebuf.

That check wasn't enough to handle appending a two byte character
following it.

This prevented my T400 (Intel Core 2 Duo P8400) from attaching;
it would panic from a stack overflow detection.

Details

Provenance
adrianAuthored on
Parents
rS301235: dhclient(1): correct obvious mismatch in get_char().
Branches
Unknown
Tags
Unknown