Hans Leidekker : mlang: Fix buffer size calculation.