unbit/uwsgi — pull request #571 by avar (2014-03-15 21:06:23+00:00)
Title: perl: fix one-off error in 2.0-103-gf041d10 causing warnings in e.g. Pla...

...ck::Request

This newly added support for read() offsets started causing "Use of
uninitialized value in subroutine entry" warnings.

This is all because there was a test for the number of items on the
stack, which ignored that the first argument is always the object, so 3
arguments to read() actually yields 4 arguments on the stack, not 3.

As a result we'd be calling SvIV() on a stack item that wasn't actually
passed in.