a9352e90f0
recently in BUGTRAQ. The set_input_fragment() routine in the XDR record marking code blindly trusts that the first two bytes it sees will in fact be an actual record header and that the specified size will be sane. In fact, if you just telnet to a listening port of an RPC service and send a few carriage returns, set_input_fragment() will obtain a ridiculously large record size and sit there for a long time trying to read from the network. A sanity test is required: if the record size is larger than the receive buffer, punt. |
||
---|---|---|
.. | ||
Makefile.inc | ||
xdr_array.c | ||
xdr_float.c | ||
xdr_mem.c | ||
xdr_rec.c | ||
xdr_reference.c | ||
xdr_sizeof.c | ||
xdr_stdio.c | ||
xdr.3 | ||
xdr.c |