1. 17 May, 2019 4 commits
  2. 16 May, 2019 2 commits
  3. 15 May, 2019 6 commits
  4. 14 May, 2019 1 commit
    • Dridi Boukelmoune's avatar
      Kill strcat and strcpy usage in VIN_n_Arg · 3a1fd9bb
      Dridi Boukelmoune authored
      If an absolute path is provided as n_arg with a length of exactly
      PATH_MAX-1 then the combination of strcpy and strcat for the trailing
      slash '/' overflows dn by one byte, writing its new null-terminating
      character '\0' right after dn's upper bound.
      
      By using a fixed-length VSB we can simply ensure that we stay within
      bounds at a reasonable cost. Guarding VSB operations should silence
      Flexelint as a nice side effect.
      
      VIN_n_Arg is not exposed outside of the source tree, and both callers
      today provide a valid dir argument, so we can now make it part of the
      contract with an assertion, simplifying the strdup error handling.
      3a1fd9bb
  5. 13 May, 2019 5 commits
  6. 12 May, 2019 1 commit
  7. 09 May, 2019 5 commits
  8. 08 May, 2019 2 commits
  9. 07 May, 2019 1 commit
  10. 06 May, 2019 8 commits
  11. 05 May, 2019 4 commits
  12. 03 May, 2019 1 commit
    • Dridi Boukelmoune's avatar
      Help Coccinelle a tiny bit more · 06e7329d
      Dridi Boukelmoune authored
      It currently freaks out when it's not aware of a type, or when it
      encounters v_*_ macros in a function signature. This doesn't improve the
      results of the existing patches but we should take a habit of specifying
      where additional C includes are.
      06e7329d