For ENG-6530, fix bug that in some case DR buffer larger than the limit
may not throw exception, this makes ee crash.