Page MenuHomeFreeBSD

Fix PR/267884
ClosedPublic

Authored by cy on Wed, Nov 23, 1:45 AM.
Tags
None
Referenced Files
Unknown Object (File)
Fri, Dec 2, 9:31 AM
Unknown Object (File)
Thu, Dec 1, 2:26 PM
Subscribers

Details

Summary

heimdal: The version string must always contain a terminating NUL

Should the sender send a string without a terminating NUL, ensure that the NUL terminates the string regardless.

And while at it only process the version string when bytes are returned.

Test Plan

Fix tested locally.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable