mirror of
https://github.com/clearlinux/uwsgi.git
synced 2026-09-05 13:11:33 +00:00
psgi_loader: make sure that at least two params are passed to XS_input_seek()
This commit is contained in:
@@ -11,7 +11,7 @@ XS(XS_input_seek) {
|
||||
dXSARGS;
|
||||
struct wsgi_request *wsgi_req = current_wsgi_req();
|
||||
|
||||
psgi_check_args(1);
|
||||
psgi_check_args(2);
|
||||
uwsgi_request_body_seek(wsgi_req, SvIV(ST(1)));
|
||||
|
||||
XSRETURN(0);
|
||||
|
||||
Reference in New Issue
Block a user