akhenakh / hunspellgo

Hunspell bidings for Golang
8 stars 10 forks source link

Fix off-by-one bug in CStrings #1

Closed chzchzchz closed 8 years ago

chzchzchz commented 8 years ago

Incrementing the pointer at the start of the loop misses the first element in the pointer array and reads one past the last element.

akhenakh commented 8 years ago

Thanks

akhenakh commented 8 years ago

Beware this is old code I don't use it anymore, it probably needs some maintenance.