(loop): check for length longer than data.  inspired by lha@stacken.kth.se
(loop): check for length longer than data.  inspired by
lha@stacken.kth.se


git-svn-id: 193148810cf65385f3a195dbc9a8b504846da3a2@9424 ec53bebd-3082-4978-b11e-865c3cabbd6b

madscientist159/heimdal,madscientist159/heimdal,madscientist159/heimdal,madscientist159/heimdal,madscientist159/heimdal,madscientist159/heimdal,madscientist159/heimdal