GRAILS-6650 is fixed by the StreamCharBuffer changes (scb-safebuffer branch merged to master)