Google Pixel XL may overcharge due to Android 8.1 bug (UPDATE)

UPDATE: A Google representative has contacted us, saying the bug will be fixed soon. There was also an official response regarding the issue on the forums, and here's what it said:
Thank you for submitting information on this bug. Our engineering team has verified a fix that will be rolling out in the coming weeks to prevent this from occurring.
Tests run by our safety engineers have also confirmed that even if a momentary overcurrent draw of the kind described were to occur in normal-use conditions, it would not pose a safety hazard. In addition, Pixel XL was designed with multiple layers of safety protections to further prevent overheating:
1) the phone input circuit is designed to carry more than the observed level of current;
2) both the battery and the phone have multiple layers of protection to avoid battery and phone overheating and overcharging;
3) the in-box charger, as well as any third party chargers that meet safety industry standards (UL and similar), have overcurrent protection.
John McNulty
Head of Safety and Compliance Engineering for Google Consumer Hardware
source: Reddit via Android Police