Uploaded image for project: 'Traffic Server'
  1. Traffic Server
  2. TS-1084

enable compile-time format string checking

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • None
    • Cleanup
    • None

    Description

      Add format string checking.

      Add format string checking to internal and external APIs that take
      a printf(3) format string. No functional changes.

      Fix all the resulting warnings

      • time_t is formatted as long long for portability
      • size_t became %zu
      • pointers all became %p

      Attachments

        Activity

          People

            jamespeach James Peach
            jamespeach James Peach
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: