Revert "Revert "check bounds in RPN tokens, tdf#90694 related and others""
Revert "Revert "check bounds in RPN tokens, tdf#90694 related and others""

This reverts commit 3caa8c633168d3fa9540192d85869492df602d54.

Rather let's solve that instead of reverting..

JurassicWordExcel/core,JurassicWordExcel/core,JurassicWordExcel/core,JurassicWordExcel/core,JurassicWordExcel/core,JurassicWordExcel/core,JurassicWordExcel/core,JurassicWordExcel/core,JurassicWordExcel/core,JurassicWordExcel/core