Temporary fix for remote exploit in qwsv

kevingeo@CRUZIO.COM
Thu, 09 Apr 1998 04:54:39 -0400

This is a wrapper library that throws away packets that would
otherwise exploit the buffer overflow in qwsv.

begin 644 qwsv-wrapper.c
M+RH@<7=S=B!B=69F97(@;W9E<F9L;W<@9FEX("`@("`@("`@("`@("`@("`@
M("`@("`@("`@("`@*B\*+RH@8V]P>7)I9VAT("AC*2`Q.3DX($ME=FEN($=E
M;W)G92`@("`@("`@("`@("`@("`@("`@("`@*B\*+RH@=&AA;FMS('1O($ME
M=FEN($UO=6QE(&9O<B!T:&4@:61E82!O9B!U<VEN9R!D;'-Y;2`@("`@*B\*
M+RH@86QL(')I9VAT<R!R97-E<G9E9"`@("`@("`@("`@("`@("`@("`@("`@
M("`@("`@("`@("`@*B\*+RH@;&EN:R!A9V%I;G-T(&QI8F,U("`@("`@("`@
M("`@("`@("`@("`@("`@("`@("`@("`@("`@*B\*+RH@8V]M<&EL92!W:71H
M('-O;65T:&EN9R!L:6ME.B`@("`@("`@("`@("`@("`@("`@("`@("`@*B\*
M+RH@9V-C("U/,B`M;F]S=&%R=&9I;&5S("US:&%R960@+6\@=W)A<"YS;R!W
M<F%P+F,@+6QD;"`@*B\*+RH@=&AE;CH@("`@("`@("`@("`@("`@("`@("`@
M("`@("`@("`@("`@("`@("`@("`@("`@("`@*B\*+RH@*&)A<V@I(&5X<&]R
M="!,1%]04D5,3T%$/2]P871H+W1O+W=R87`N<V\@("`@("`@("`@("`@*B\*
M+RH@*'1C<V@I('-E=&5N=B!,1%]04D5,3T%$("]P871H+W1O+W=R87`N<V\@
M("`@("`@("`@("`@*B\*+RH@*&)E9F]R92!R=6YN:6YG('%W<W8I("`@("`@
M("`@("`@("`@("`@("`@("`@("`@("`@("`@*B\*+RH@=&AI<R!C;W5L9"!L
M;V<@=&AE('-O=7)C92!A9&1R97-S(&]F('1H92!P86-K970L("`@("`@*B\*
M+RH@8G5T($D@9&]N)W0@<V5E('1H92!P;VEN="!S:6YC92!U9'`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