Lucene search

K
osvGoogleOSV:GHSA-82HM-VH7G-HRH9
HistoryAug 25, 2021 - 9:01 p.m.

Partial read is incorrect in molecule

2021-08-2521:01:25
Google
osv.dev
5
molecule
fixvec
incorrect implementation
workarounds
advisory

EPSS

0.002

Percentile

62.1%

Impact

Anyone who uses total_size(..) function to partial read the length of any FixVec will get an incorrect result, due to an incorrect implementation. This has been resolved in the 0.7.2 release.

Workarounds

If you already have the whole FixVec A, you can use A.as_slice().len() to get the total size of the FixVec.

For more information

If you have any questions or comments about this advisory:

EPSS

0.002

Percentile

62.1%

Related for OSV:GHSA-82HM-VH7G-HRH9