1. 06 Nov, 2020 1 commit
  2. 04 Nov, 2020 1 commit
  3. 29 Oct, 2020 1 commit
  4. 26 Oct, 2020 1 commit
  5. 21 Oct, 2020 1 commit
  6. 17 Oct, 2020 1 commit
  7. 05 Oct, 2020 3 commits
  8. 02 Oct, 2020 1 commit
  9. 29 Sep, 2020 1 commit
  10. 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
  11. 22 Sep, 2020 3 commits
  12. 20 Sep, 2020 1 commit
  13. 07 Sep, 2020 3 commits
  14. 06 Sep, 2020 1 commit
  15. 29 Aug, 2020 1 commit
  16. 28 Aug, 2020 1 commit
  17. 27 Aug, 2020 1 commit
  18. 25 Aug, 2020 1 commit
  19. 23 Aug, 2020 7 commits
  20. 17 Aug, 2020 3 commits
  21. 15 Aug, 2020 4 commits