Page MenuHomeFreeBSD

tftp: fix two minor Coverity CIDs
ClosedPublic

Authored by asomers on Sep 17 2019, 11:18 PM.

Details

Summary

tftp: fix two minor Coverity CIDs

CID 1394842: file descriptor leak in an error path
CID 1007603: single byte array overflow

Diff Detail

Repository
rS FreeBSD src repository
Lint
Lint OK
Unit
No Unit Test Coverage
Build Status
Buildable 26540
Build 24934: arc lint + arc unit

Event Timeline

asomers created this revision.Sep 17 2019, 11:18 PM
koobs added a comment.Sep 18 2019, 3:43 AM

I'm not C savvy, so probably not appropriate for review (but thanks for adding me so I was aware of the change)

koobs removed a reviewer: koobs.Sep 18 2019, 3:43 AM
koobs added a subscriber: koobs.
This revision was not accepted when it landed; it landed in state Needs Review.Thu, Oct 3, 8:22 PM
This revision was automatically updated to reflect the committed changes.