SIGN IN SIGN UP

options/m_property: try to get constricted type in m_property_do

When setting properties via M_PROPERTY_SET_NODE, the property value
is limited by static declared range. However, some properties like
volume handle dynamic M_PROPERTY_GET_CONSTRICTED_TYPE requests and
return runtime determined limits. M_PROPERTY_SET_NODE in this case
does not respect that limit, and allows setting to a value out of
range.

Fix this by always trying to use M_PROPERTY_GET_CONSTRICTED_TYPE
first so that the dynamic limits will be used.
N
nanahi committed
6320792f1b25551ee4db57384ccfbb91c2afa13f
Parent: 27ec68f
Committed by Kacper Michajłow <kasper93@gmail.com> on 5/12/2026, 7:39:34 PM