Ticket #2040 (closed defect: wontfix)

Opened 15 years ago

Last modified 15 years ago

first *error blocks all the rest errors in lib/search/regex.c

Reported by: vit_r Owned by:
Priority: trivial Milestone:
Component: mc-search Version:
Keywords: Cc:
Blocked By: Blocking:
Branch state: Votes for changeset:

Description

in lib/search/regex.c

error-msg is declared as

const char *error;

then first *error will block all the rest error messages.

Attachments

2040-const-char-error-to-char-error-redeclaration.patch (2.5 KB) - added by vit_r 15 years ago.
first *error blocks all the rest errors in lib/search/regex.c

Change History

Changed 15 years ago by vit_r

first *error blocks all the rest errors in lib/search/regex.c

comment:1 Changed 15 years ago by andrew_b

  • Status changed from new to closed
  • Version master deleted
  • Resolution set to wontfix
  • Milestone 4.7 deleted

Error returned in pcre_compile() and pcre_study() is owned by PCRE library and cannot be freed.
Error is type of (const char ), not (char ).

Note: See TracTickets for help on using tickets.