Skip to content
Snippets Groups Projects
Commit 1b44748c authored by joda-odoo's avatar joda-odoo
Browse files

[FIX] tools: avoid crashes if expression is too large


When passing a very large expression to `literal_eval`, the odoo server crashes.
To avoid this behavior, a limit needs to be set by using the env varaible `ODOO_LIMIT_LITEVAL_BUFFER`.
If the variable is not set, it defaults to 100Kib.

closes odoo/odoo#121530

Signed-off-by: default avatarVranckx Florian (flvr) <flvr@odoo.com>
parent eda9ad14
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment