This can happen if an invalid outputSize is passed in by the caller of the function. (I actually discovered this when writing the test last night.)  Even though we're at line 196, this is still really the beginning of the function