Hello,

I sent this  out earlier, but it  seems to have been  lost (perhaps spam
filters didn't  like something  in it;  maybe they  won't like  this one
either).

Basically, I  encountered a segfault  because I incorrectly passed  in a
NULL pointer to  blob_append. I thought that blob_append  should be able
to handle a NULL pointer better, so I added an assert:

http://www.fossil-scm.org/index.html/info/2d714a4e48251549

Would it perhaps  be better to return, leaving the  caller to figure out
that they passed in NULL?

If not, and if assert() is fine here, then should it be merged?

Thanks,

Andy
-- 
TAI64 timestamp: 4000000055c2e916


_______________________________________________
fossil-dev mailing list
fossil-dev@mailinglists.sqlite.org
http://mailinglists.sqlite.org/cgi-bin/mailman/listinfo/fossil-dev

Reply via email to