Commit 9a9335b1 authored by David Renshaw's avatar David Renshaw

KJ_FAIL_ASSERT -> KJ_FAIL_REQUIRE for FAR pointer cases that can happen due to bad input data

parent 24e47234
...@@ -738,7 +738,7 @@ struct WireHelpers { ...@@ -738,7 +738,7 @@ struct WireHelpers {
break; break;
} }
case WirePointer::FAR: case WirePointer::FAR:
KJ_FAIL_ASSERT("Unexpected FAR pointer.") { KJ_FAIL_REQUIRE("Unexpected FAR pointer.") {
break; break;
} }
break; break;
...@@ -1872,7 +1872,7 @@ struct WireHelpers { ...@@ -1872,7 +1872,7 @@ struct WireHelpers {
} }
case WirePointer::FAR: case WirePointer::FAR:
KJ_FAIL_ASSERT("Unexpected FAR pointer.") { KJ_FAIL_REQUIRE("Unexpected FAR pointer.") {
goto useDefault; goto useDefault;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment