1. 01 Dec, 2018 1 commit
    • Victor Stinner's avatar
      Fix compiler warning in structseq_repr() (GH-10841) · 98905204
      Victor Stinner authored
      Replace strncpy() with memcpy() in structseq_repr() to fix the
      following compiler warning:
      
      Objects/structseq.c:187:5: warning: 'strncpy' specified bound depends on the length of the source argument [-Wstringop-overflow=]
           strncpy(pbuf, typ->tp_name, len);
           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      Objects/structseq.c:185:11: note: length computed here
           len = strlen(typ->tp_name) > TYPE_MAXSIZE ? TYPE_MAXSIZE :
      
      The function writes the terminating NUL byte later.
      98905204
  2. 30 Nov, 2018 11 commits
  3. 29 Nov, 2018 7 commits
  4. 28 Nov, 2018 7 commits
  5. 27 Nov, 2018 14 commits