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

Prefer ink_zero to memset(0)

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: sometime
    • Component/s: Cleanup
    • Labels:
      None

      Description

      We should apply ink_zero everywhere it makes sense so imprive code consistency.

      Here's a rough list of the places to update:

      $ git grep -e 'memset.*, 0, sizeof([^)]*))
      ...'
      

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              jamespeach James Peach
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: