Signed-off-by: Jeremy White <jwhite@xxxxxxxxxxxxxxx> --- usbredirparser/usbredirparser.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/usbredirparser/usbredirparser.c b/usbredirparser/usbredirparser.c index eea6330..87ac680 100644 --- a/usbredirparser/usbredirparser.c +++ b/usbredirparser/usbredirparser.c @@ -967,7 +967,7 @@ int usbredirparser_do_read(struct usbredirparser *parser_pub) /* Skip forward to next packet (only used in error conditions) */ while (parser->to_skip > 0) { - uint8_t buf[65536]; + uint8_t buf[1024]; r = (parser->to_skip > sizeof(buf)) ? sizeof(buf) : parser->to_skip; r = parser->callb.read_func(parser->callb.priv, buf, r); if (r <= 0) -- 2.1.4 _______________________________________________ Spice-devel mailing list Spice-devel@xxxxxxxxxxxxxxxxxxxxx http://lists.freedesktop.org/mailman/listinfo/spice-devel