lt comparison should be gt
zacharycarter opened this issue · comments
Tail Wag Games commented
Line 653 in cfe3da2
I believe the check here is backwards - it is currently checking if the length of the argument passed to the option is greater than the size of value array of the union (8 bytes). If it is, it currently copies 8 bytes from the argument into the buffer. I believe it should really allocate in this case - unless I'm misunderstanding the intent of this section of code.