insane-adding-machines / frosted

Frosted: Free POSIX OS for tiny embedded devices
GNU General Public License v2.0
215 stars 39 forks source link

string.c: strncmp bugfix #138

Closed brabo closed 7 years ago

brabo commented 7 years ago

insane-adding-machines/frosted/commit/b1f34b3af282735427bbb24dd25c8a6bb999cae6 pointed out there is a serious bug in our strncmp implementation. The proposed fix had its own issues, so I propose this fix instead.