cp: Fix a crash in cp - fixes #1336
cp: Fix a crash in cp - fixes #1336

minio/mc,harshavardhana/mc,balamurugana/mc,CarterMcClellan/mc,balamurugana/mc,vadmeste/mc,harshavardhana/mc,abperiasamy/mc,krisis/mc,vadmeste/mc,minio/mc,CarterMcClellan/mc,krisis/mc,abperiasamy/mc