cljr: fix buf_size sanity check