Expand inet6name() line buffer to NI_MAXHOST and use
strlcpy/snprintf in various places, reported by Anton Yuzhaninov
<citrin citrin ru>.
Details
Details
Diff Detail
Diff Detail
- Repository
- rS FreeBSD src repository - subversion
- Lint
Lint Not Applicable - Unit
Tests Not Applicable
Event Timeline
Comment Actions
I'm fine with the changes. In some places you add {} around single statements leasing to an inconsistent usage.
Please note that I'm normally in favor of code like
if (cond) {
statement;
} else {
statement;
}
but normally I try to follow how it is done elsewhere in the file... So is this intentionally?