usr.sbin/sendmail: warning fixes via edits to the C code files
Diff Detail
Diff Detail
- Lint
Lint Skipped - Unit
Tests Skipped
Event Timeline
Comment Actions
Changelog:
- contrib/sendmail/src/envelope.c
- Warnings
- warning: format not a string literal and no format arguments [-Wformat-security]
- Fixes:
- Add the modifier "$s" to the "message( )" functions calls at line 221
- Warnings
- contrib/sendmail/src/parseaddr.c
- Warnings:
- warning: format not a string literal and no format arguments [-Wformat-security]
- Fixes:
- Add the modifier "$s" to the "message( )" functions calls at lines 326 & 423
- Warnings:
- contrib/sendmail/src/srvrsmtp.c
- Warnings:
- warning: format not a string literal and no format arguments [-Wformat-security]
- Fixes:
- Add the modifier "$s" to the "usrerr( )" functions calls at lines 581, 587. 1852, 2455, 3662 & 3782
- Add the modifier "$s" to the "message( )" functions calls at line 934
- Warnings: