dup1: fix some bugs with -n arguments (the bounds were never checked)
dup1: fix some bugs with -n arguments (the bounds were never checked)

mancoast/cado-nfs,mancoast/cado-nfs,mancoast/cado-nfs,mancoast/cado-nfs,mancoast/cado-nfs,mancoast/cado-nfs,mancoast/cado-nfs