Fix a buffer overflow in ee.