1. 12 Dec, 2020 5 commits
  2. 07 Dec, 2020 1 commit
  3. 05 Dec, 2020 2 commits
  4. 28 Nov, 2020 1 commit
  5. 06 Nov, 2020 1 commit
  6. 04 Nov, 2020 1 commit
  7. 29 Oct, 2020 1 commit
  8. 26 Oct, 2020 1 commit
  9. 21 Oct, 2020 1 commit
  10. 17 Oct, 2020 1 commit
  11. 05 Oct, 2020 3 commits
  12. 02 Oct, 2020 1 commit
  13. 29 Sep, 2020 1 commit
  14. 25 Sep, 2020 3 commits
    • Philipp Kutin's avatar
      duke32: in savegame.cpp, use Bstrncpyz() for copying from/to '_savehead::boardfn'. · 778901d0
      Philipp Kutin authored
      With 'RELEASE := 0', gcc (Raspbian 8.3.0-6+rpi1) 8.3.0 said:
      
       savegame.cpp: In function 'int32_t G_LoadPlayer(savebrief_t&)':
       savegame.cpp:655:12: warning: 'void* memcpy(void*, const void*, size_t)' offset [297, 328]
         from the object at 'h' is out of the bounds of referenced subobject '_savehead::boardfn'
         with type 'char [224]' at offset 72 [-Warray-bounds]
            Bmemcpy(boardfilename, h.boardfn, sizeof(boardfilename));
      
      It also emits many warnings about possible truncation with (B)snprintf(),
      presumably based on computed upper bounds on the length of the input varargs.
      
      Also, resurrect static assert for post-commit-687000e2 situation and
      remove comment referencing a tag which was removed in commit bd3a933a.
      778901d0
    • Philipp Kutin's avatar
      audiolib: in driver_adlib.cpp's macros LL_{AddToTail,Remove}(), use offsetof(). · e2ba35f2
      Philipp Kutin authored
      source/audiolib/src/driver_adlib.cpp:499:13: runtime error: member access within null pointer of type 'AdLibVoice'
      SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior source/audiolib/src/driver_adlib.cpp:499:13 in
      e2ba35f2
    • Philipp Kutin's avatar
      GNUmakefile: compile enet.cpp only if NETCODE!=0. · f1aec344
      Philipp Kutin authored
      Background: gcc (Raspbian 8.3.0-6+rpi1) 8.3.0
      I'm getting a missing compiler-provided symbol:
      
       /usr/bin/ld: obj/build/enet.o: in function `enet_time_get':
       source/build/include/enet.h:4948: undefined reference to `__atomic_load_8'
       /usr/bin/ld: source/build/include/enet.h:4958: undefined reference to `__atomic_compare_exchange_8'
       collect2: error: ld returned 1 exit status
      
      so have a means of omitting the object file when it is not actually needed.
      f1aec344
  15. 22 Sep, 2020 3 commits
  16. 20 Sep, 2020 1 commit
  17. 07 Sep, 2020 3 commits
  18. 06 Sep, 2020 1 commit
  19. 29 Aug, 2020 1 commit
  20. 28 Aug, 2020 1 commit
  21. 27 Aug, 2020 1 commit
  22. 25 Aug, 2020 1 commit
  23. 23 Aug, 2020 5 commits