Skip to content

Commit 033256a

Browse files
committed
Fix for GHSA-7qp6-hqxj-pjjp / ZDI-CAN-26486
(cherry picked from commit 169da59)
1 parent bf5134e commit 033256a

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/remote/protocol.cpp

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1857,6 +1857,11 @@ static bool_t xdr_trrq_message( XDR* xdrs, USHORT msg_type)
18571857
rem_port* port = xdrs->x_public;
18581858
Rpr* procedure = port->port_rpr;
18591859

1860+
// normally that never happens
1861+
fb_assert(procedure);
1862+
if (!procedure)
1863+
return false;
1864+
18601865
if (msg_type == 1)
18611866
return xdr_message(xdrs, procedure->rpr_out_msg, procedure->rpr_out_format);
18621867

0 commit comments

Comments
 (0)