Lucene search
+L

2 matches found

PyPA
PyPA
added 2026/07/07 2:34 p.m.16 views

Invalid char to bool conversion when printing a tensor

ImpactWhen printing a tensor, we get it's data as a const char array since that's the underlying storage and then we typecast it to the element type. However, conversions from char to bool are undefined if the char is not 0 or 1, so sanitizers/fuzzers will crash. PatchesWe have patched the issue ...

7.5CVSS7.1AI score0.00389EPSS
SaveExploits0References7Affected Software1
OSV
OSV
added 2022/11/21 10:18 p.m.7 views

GHSA-PF36-R9C6-H97J Invalid char to bool conversion when printing a tensor

Impact When printing a tensor, we get it's data as a const char array since that's the underlying storage and then we typecast it to the element type. However, conversions from char to bool are undefined if the char is not 0 or 1, so sanitizers/fuzzers will crash. Patches We have patched the issu...

4.8CVSS7.1AI score0.00389EPSS
SaveExploits0References5
Rows per page
Query Builder