[[ Bug 12489 ]] Filter native could overrun source string length
Merge pull request #756 from runrevali/bugfix-12489

Bugfix 12489