Devoris: Fix a critical performance vulnerability

Detected Devoris update.