You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
bug: dstr_replace never terminates when find is the empty string #47
libobs/util/dstr.cdstr_replace never terminates when find is "": strstr(temp, "") always returns temp. With replace_len == 0, temp += replace_len never advances; with a longer replacement it grows forever. test_dstr.c skips the case. Decide the semantics (no-op, or reject), fix in C with a RED test, and record the choice for the dstr port (#43).
Activity
test(libobs): RED dstr_replace empty-find test (#47)
libobs/util: Make dstr_replace a no-op for empty find
feat(rust): Port utf8, lexer, text-lookup, dstr and bmem to obs-util (#…
feat(rust): Port utf8, lexer, text-lookup, dstr and bmem to obs-util (#…
feat(rust): Port utf8, lexer, text-lookup, dstr and bmem to obs-util (#…
feat(rust): Port utf8, lexer, text-lookup, dstr and bmem to obs-util (#…
feat(rust): Port utf8, lexer, text-lookup, dstr and bmem to obs-util (#…