derive-com-impl
Activity
- Latest release
- 3y ago
- Total releases
- 6
- Cadence
- ~daily
- Last 12 months
- 0
Details
- License
- MIT
- First release
- Nov 11, 2018
| Version | Released | |
|---|---|---|
0.2.0
unknown
|
0.2.0
unknown
Dependencies (3)
|
|
0.1.1
unknown
1 CVE
CVE-2021-45681
GHSA-9rg7-3j4f-cf4x
GHSA-w4cc-pc2h-whcj
RUSTSEC-2021-0083
Jun 16, 2022
QueryInterface should call AddRef before returning pointer
Medium
Affected version of this crate, which is a required dependency in com-impl,
provides a faulty implementation of the
As it is not incrementing the refcount as expected, the following calls to This is documented in https://docs.microsoft.com/en-us/windows/win32/learnwin32/managing-the-lifetime-of-an-object#reference-counting There is no simple workaround, as you can't know how many time QueryInterface will be called. The only way to quick fix this is to use the macro expanded version of the code and modify the QueryInterface method to add the AddRef call yourself. The issue was corrected in commit Fixed in
0.1.2
References Updated Nov 08, 2023 · Source: OSV.dev |
0.1.1
unknown
Dependencies (3)
|
|
0.1.0
unknown
1 CVE
CVE-2021-45681
GHSA-9rg7-3j4f-cf4x
GHSA-w4cc-pc2h-whcj
RUSTSEC-2021-0083
Jun 16, 2022
QueryInterface should call AddRef before returning pointer
Medium
Affected version of this crate, which is a required dependency in com-impl,
provides a faulty implementation of the
As it is not incrementing the refcount as expected, the following calls to This is documented in https://docs.microsoft.com/en-us/windows/win32/learnwin32/managing-the-lifetime-of-an-object#reference-counting There is no simple workaround, as you can't know how many time QueryInterface will be called. The only way to quick fix this is to use the macro expanded version of the code and modify the QueryInterface method to add the AddRef call yourself. The issue was corrected in commit Fixed in
0.1.2
References Updated Nov 08, 2023 · Source: OSV.dev |
0.1.0
unknown
Dependencies (3)
|
|
0.1.0-alpha3
unknown
1 CVE
CVE-2021-45681
GHSA-9rg7-3j4f-cf4x
GHSA-w4cc-pc2h-whcj
RUSTSEC-2021-0083
Jun 16, 2022
QueryInterface should call AddRef before returning pointer
Medium
Affected version of this crate, which is a required dependency in com-impl,
provides a faulty implementation of the
As it is not incrementing the refcount as expected, the following calls to This is documented in https://docs.microsoft.com/en-us/windows/win32/learnwin32/managing-the-lifetime-of-an-object#reference-counting There is no simple workaround, as you can't know how many time QueryInterface will be called. The only way to quick fix this is to use the macro expanded version of the code and modify the QueryInterface method to add the AddRef call yourself. The issue was corrected in commit Fixed in
0.1.2
References Updated Nov 08, 2023 · Source: OSV.dev |
0.1.0-alpha3
unknown
Dependencies (6)
|
|
0.1.0-alpha2
unknown
1 CVE
CVE-2021-45681
GHSA-9rg7-3j4f-cf4x
GHSA-w4cc-pc2h-whcj
RUSTSEC-2021-0083
Jun 16, 2022
QueryInterface should call AddRef before returning pointer
Medium
Affected version of this crate, which is a required dependency in com-impl,
provides a faulty implementation of the
As it is not incrementing the refcount as expected, the following calls to This is documented in https://docs.microsoft.com/en-us/windows/win32/learnwin32/managing-the-lifetime-of-an-object#reference-counting There is no simple workaround, as you can't know how many time QueryInterface will be called. The only way to quick fix this is to use the macro expanded version of the code and modify the QueryInterface method to add the AddRef call yourself. The issue was corrected in commit Fixed in
0.1.2
References Updated Nov 08, 2023 · Source: OSV.dev |
0.1.0-alpha2
unknown
Dependencies (6)
|
|
0.1.0-alpha1
unknown
1 CVE
CVE-2021-45681
GHSA-9rg7-3j4f-cf4x
GHSA-w4cc-pc2h-whcj
RUSTSEC-2021-0083
Jun 16, 2022
QueryInterface should call AddRef before returning pointer
Medium
Affected version of this crate, which is a required dependency in com-impl,
provides a faulty implementation of the
As it is not incrementing the refcount as expected, the following calls to This is documented in https://docs.microsoft.com/en-us/windows/win32/learnwin32/managing-the-lifetime-of-an-object#reference-counting There is no simple workaround, as you can't know how many time QueryInterface will be called. The only way to quick fix this is to use the macro expanded version of the code and modify the QueryInterface method to add the AddRef call yourself. The issue was corrected in commit Fixed in
0.1.2
References Updated Nov 08, 2023 · Source: OSV.dev |
0.1.0-alpha1
unknown
Dependencies (3)
|