Skip to content

Commit

Permalink
Fix CI.
Browse files Browse the repository at this point in the history
  • Loading branch information
davidchisnall committed Oct 14, 2024
1 parent f26cb4d commit 541d1b3
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
2 changes: 2 additions & 0 deletions compile_flags.txt
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,8 @@ riscv32-unknown-unknown
-Ilib/tcpip
-Ilib/tls
-Iinclude
-DCHERIOT_RTOS_OPTION_FORCE_NON_UNIQUE_MAC=true
-DCHERIOT_RTOS_OPTION_NETWORK_INJECT_FAULTS=true
-DCHERIOT_RTOS_OPTION_IPv6
-DDEBUG_LOADER=false
-DDEBUG_ALLOCATOR=false
Expand Down
2 changes: 1 addition & 1 deletion lib/firewall/firewall.cc
Original file line number Diff line number Diff line change
Expand Up @@ -427,7 +427,7 @@ namespace
SmallTable<int> testSmallTableZeroLength(0);
testSmallTableZeroLength.contains(1);

Debug::log("Testing small table pointer-based remove");
Debug::log("Testing small table pointer-based remove");
testSmallTable.insert(1);
testSmallTable.remove(testSmallTable.begin());
Debug::Assert(
Expand Down
3 changes: 2 additions & 1 deletion lib/tcpip/driver_adaptor.cc
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,8 @@ bool __cheri_compartment("TCPIP")
{
if (faultInjected)
{
ConditionalDebug<true, "Ethernet Adaptor">::log("Triggering crash");
ConditionalDebug<true, "Ethernet Adaptor">::log(
"Triggering crash");
faultInjected = false;
// Inject a fault by giving the frame an incorrect length.
// This will cause the TCP/IP stack to read beyond the end.
Expand Down

0 comments on commit 541d1b3

Please sign in to comment.