Changes in the way length fields were used caused big-endian patches to no longer behave correctly; this patch repairs that. Signed-off-by: Al Stone <ahs3@redhat.com>