[riot-commits] [RIOT-OS/RIOT] 471070: tests/ssp: Fix on macOS while compiling w/ clang

Joakim Nohlgård joakim.nohlgard at eistec.se
Tue Oct 31 05:39:59 CET 2017


  Branch: refs/heads/master
  Home:   https://github.com/RIOT-OS/RIOT
  Commit: 47107014052cf2345f4d22066e236582f4bbc0a9
      https://github.com/RIOT-OS/RIOT/commit/47107014052cf2345f4d22066e236582f4bbc0a9
  Author: Lucas Jenss <lucas at x3ro.de>
  Date:   2017-10-30 (Mon, 30 Oct 2017)

  Changed paths:
    M tests/ssp/main.c

  Log Message:
  -----------
  tests/ssp: Fix on macOS while compiling w/ clang

On macOS using Apple LLVM version 9.0.0 this test would
not compile due to clang detecting the buffer overflow.
Since this test is all about having a buffer overflow, I
tricked clang into not detecting this anymore.

This loosely relates to #6473.


  Commit: 4de06b5f96464c2d56b4f2ea55daa08e5fbc20ed
      https://github.com/RIOT-OS/RIOT/commit/4de06b5f96464c2d56b4f2ea55daa08e5fbc20ed
  Author: Joakim Nohlgård <joakim.nohlgard at eistec.se>
  Date:   2017-10-31 (Tue, 31 Oct 2017)

  Changed paths:
    M tests/ssp/main.c

  Log Message:
  -----------
  Merge pull request #7777 from x3ro/fix-ssp-test-on-macos

tests/ssp: Fix on macOS while compiling w/ clang


Compare: https://github.com/RIOT-OS/RIOT/compare/b80cdd81d861...4de06b5f9646


More information about the commits mailing list