Fix buffer overflow in CLP.