Bugfix: correctly cope with end > 0xfffe.

1 file changed