The product accidentally uses the wrong operator, which changes the logic in security-relevant ways.
These types of errors are generally the result of a typo by the programmer.
Impact: Alter Execution Logic
This weakness can cause unintended logic to be executed and other unexpected application behavior.
cc#c
// Print stack overflow error message and exit* } *p1 == i;}
c
c
// initialize tos and p1 to point to the top of stack* tos = stack; p1 = stack;
cmodule csr_regfile #( ...
verilog
assign priv_lvl_o = (debug_mode_q || umode_i) ? riscv::PRIV_LVL_M : priv_lvl_q;** ...
verilogmodule csr_regfile #( ...
verilog
(debug_mode_q && umode_i) ? riscv::PRIV_LVL_M : priv_lvl_q;** ...
verilogLow