Closed jonwis closed 11 months ago
This issue is stale because it has been open 10 days with no activity. Remove stale label or comment or this will be closed in 5 days.
Seems like both WINRT_ASSERT
and WINRT_VERIFY
are only for debug mode. We should probably throw or abort instead, as the size of a collection can vary at run-time.
Version
2.0.220131.2
Summary
See #1343 where we noticed a bunch of places that convert from a
size_t
to an ABI-friendlyuint32_t
viastatic_cast
. Each instance probably needs to be analyzed and replaced with aWINRT_ASSERT
orWINRT_VERIFY
or some form of "checked conversion cast" method.Reproducible example
No response
Expected behavior
No response
Actual behavior
No response
Additional comments
No response