Page MenuHomeFreeBSD

usr.sbin/sendmail: build warnings fixed
Needs ReviewPublic

Authored by aprieger_llnw.com on May 31 2017, 4:29 PM.

Details

Summary

usr.sbin/sendmail: warning fixes via edits to the C code files

Diff Detail

Lint
Lint Skipped
Unit
Unit Tests Skipped

Event Timeline

aprieger_llnw.com retitled this revision from Sendmail: warning fixed to Sendmail: Warnings fixed.

Changelog:

  1. 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
  2. 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
  3. 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
aprieger_llnw.com retitled this revision from Sendmail: Warnings fixed to usr.sbin/sendmail: warnings fixed.May 31 2017, 4:41 PM
aprieger_llnw.com edited the summary of this revision. (Show Details)
aprieger_llnw.com retitled this revision from usr.sbin/sendmail: warnings fixed to usr.sbin/sendmail: build warnings fixed.
aprieger_llnw.com set the repository for this revision to rS FreeBSD src repository - subversion.