You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Nov 8, 2022. It is now read-only.
to a plugins GetConfigPolicy method will cause the plugin to crash on startup. This is because the min/max values are not handled properly here and here. The failing logic for both is:
This causes a crash because, in the case where len(opts) is greater than 1 (i.e. if a min or max is set), it will cause out of bounds error on options since it's statically size 1. A second issue is that the minimum/maximum are never set in the returned rule.
The text was updated successfully, but these errors were encountered:
Adding either
or
to a plugins GetConfigPolicy method will cause the plugin to crash on startup. This is because the min/max values are not handled properly here and here. The failing logic for both is:
This causes a crash because, in the case where len(opts) is greater than 1 (i.e. if a min or max is set), it will cause out of bounds error on options since it's statically size 1. A second issue is that the minimum/maximum are never set in the returned rule.
The text was updated successfully, but these errors were encountered: