﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc	difficulty
808	Blobs are compared with ASCIIZ string comparison functions	sjamaan		"{{{
#!scm
#;1> (blob=? '#${1 2 3} '#${1 2 4})
#f
#;2> (blob=? '#${1 2 0 3} '#${1 2 0 4})
#t
}}}

The fix is most likely to use {{{C_memcmp}}} instead of {{{C_strncmp}}} since {{{blob=?}}} uses C_string_compare. I'm posting it in the bugtracker because we should really check all string functions (since strings in Scheme can contain NUL bytes too); there are many more cases where C functions are used (and for case-insensitive comparisons this is especially painful - we'd need to hand-code those since there are no C functions that deal with length-encoded strings; they all implicitly assume ASCIIZ)"	defect	closed	critical	4.9.0	unknown	4.7.x	fixed	C sucks, blobs, strings		
