gingerBill / c0

C0 Programming Language

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

bug in c0_string_compare

JavierLealCortes opened this issue · comments

In the function c0_string_compare you are comparing the text pointer value before the length.

You could have 2 strings pointing to the same text pointer but with different lengths.