Page MenuHomeFreeBSD

tftpd: Keep proper track of header length
Needs ReviewPublic

Authored by des on Tue, Oct 20, 2:42 PM.

Details

Reviewers
emaste
markj
Summary

When parsing a header, keep track of the length of the unparsed portion
and pass that to get_field() instead of the length of the entire header.

Reported by: n0ps1ed
MFC after: 1 week

Diff Detail

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