Ticket #3703 (new defect) — at Version 3

Opened 5 years ago

Last modified 5 years ago

error processing

Reported by: dickest Owned by:
Priority: major Milestone: 4.8.19
Component: mc-core Version: master
Keywords: Cc:
Blocked By: Blocking:
Branch state: no branch Votes for changeset:

Description (last modified by andrew_b) (diff)

Please replace (mc/lib/search/search.c):

GString *
mc_search_prepare_replace_str (mc_search_t * lc_mc_search, GString * replace_str)
{
    GString *ret;

    if (lc_mc_search == NULL)
        return g_string_new_len (replace_str->str, replace_str->len);

    if (replace_str == NULL || replace_str->str == NULL || replace_str->len == 0)
        return g_string_new ("");

GString *
mc_search_prepare_replace_str (mc_search_t * lc_mc_search, GString * replace_str)
{
    GString *ret;

    if (replace_str == NULL || replace_str->str == NULL || replace_str->len == 0)
        return g_string_new ("");


    if (lc_mc_search == NULL)
        return g_string_new_len (replace_str->str, replace_str->len);

Change History

comment:1 Changed 5 years ago by andrew_b

  • Description modified (diff)

comment:2 Changed 5 years ago by andrew_b

  • Description modified (diff)

comment:3 Changed 5 years ago by andrew_b

  • Description modified (diff)
Note: See TracTickets for help on using tickets.