ITS#10421 mdb_load: check for malicious input
ITS#10421
Merge remote-tracking branch 'origin/mdb.RE/0.9'