Skip to content
GitLab
Next
    • Why GitLab
    • Pricing
    • Contact Sales
    • Explore
  • Why GitLab
  • Pricing
  • Contact Sales
  • Explore
  • Sign in
  • Get free trial
  • procps-ng
  • procps
  • Repository
  • procps
  • proc
  • sysinfo.c
Find file Blame History Permalink
  • Qualys Security Advisory's avatar
    proc/sysinfo.c: Ensure null-termination in getstat(). · 920b0ada
    Qualys Security Advisory authored Jan 01, 1970
    There was a "buff[BUFFSIZE-1] = 0;" but there may be garbage between
    what is read() (less than BUFFSIZE-1 bytes) and this null byte. Reuse
    the construct from the preceding getrunners().
    920b0ada