1. 16 Mar, 2019 3 commits
  2. 10 Mar, 2019 4 commits
  3. 23 Feb, 2019 7 commits
  4. 17 Feb, 2019 1 commit
  5. 16 Jan, 2019 2 commits
  6. 01 Jan, 2019 3 commits
    • Alan Coopersmith's avatar
      Avoid use-after-free in _XimProtoSetIMValues() · 003e30a6
      Alan Coopersmith authored
      Fixes gitlab issue #49Signed-off-by: Alan Coopersmith's avatarAlan Coopersmith <alan.coopersmith@oracle.com>
      003e30a6
    • Alan Coopersmith's avatar
      Fix implicit conversion warnings in _XlcCreateDefaultCharSet · 30656fd6
      Alan Coopersmith authored
      lcCharSet.c:187:50: warning: implicit conversion changes signedness:
            'int' to 'unsigned long' [-Wsign-conversion]
          tmp = Xmalloc(name_len + 1 + ct_sequence_len + 1);
                ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~
      ../../include/X11/Xlibint.h:453:32: note: expanded from macro 'Xmalloc'
                             ~~~~~~  ^~~~
      lcCharSet.c:192:31: warning: implicit conversion changes signedness:
            'int' to 'unsigned long' [-Wsign-conversion]
          memcpy(tmp, name, name_len+1);
          ~~~~~~            ~~~~~~~~^~
      lcCharSet.c:216:45: warning: implicit conversion changes signedness:
            'int' to 'unsigned long' [-Wsign-conversion]
          memcpy(tmp, ct_sequence, ct_sequence_len+1);
          ~~~~~~                   ~~~~~~~~~~~~~~~^~
      lcCharSet.c:183:16: warning: implicit conversion loses integer precision:
            'unsigned long' to 'int' [-Wshorten-64-to-32]
          name_len = strlen(name);
                   ~ ^~~~~~~~~~~~
      lcCharSet.c:184:23: warning: implicit conversion loses integer precision:
            'unsigned long' to 'int' [-Wshorten-64-to-32]
          ct_sequence_len = strlen(ct_sequence);
                          ~ ^~~~~~~~~~~~~~~~~~~
      lcCharSet.c:198:37: warning: implicit conversion loses integer precision:
           'long' to 'unsigned int' [-Wshorten-64-to-32]
              unsigned int length = colon - charset->name;
                           ~~~~~~   ~~~~~~^~~~~~~~~~~~~~~
      Signed-off-by: Alan Coopersmith's avatarAlan Coopersmith <alan.coopersmith@oracle.com>
      30656fd6
    • Alan Coopersmith's avatar
      Remove no-longer-used name variable in _XGetAtomName · 2e630090
      Alan Coopersmith authored
      Fixes gcc warning:
      GetAtomNm.c: In function ‘_XGetAtomName’:
      GetAtomNm.c:39:11: warning: unused variable ‘name’ [-Wunused-variable]
           char *name;
                 ^~~~
      
      Introduced by commit 336c1e7aSigned-off-by: Alan Coopersmith's avatarAlan Coopersmith <alan.coopersmith@oracle.com>
      2e630090
  7. 29 Dec, 2018 1 commit
  8. 08 Dec, 2018 8 commits
  9. 20 Nov, 2018 1 commit
  10. 12 Nov, 2018 2 commits
  11. 10 Nov, 2018 1 commit
  12. 09 Oct, 2018 1 commit
  13. 28 Sep, 2018 1 commit
  14. 25 Sep, 2018 1 commit
  15. 22 Sep, 2018 1 commit
  16. 21 Aug, 2018 3 commits