Default Pink camera

about to buy a HTC One for cheap on eBay the problem is it has that pink camera issue the seller isn't the original buyer and I'm wondering If i send it to HTC for warranty or repair will they do it for free or will i get charged?
Devices: Nexus 5 (Sold) 1X
Nexus 5