[ZBX-14579] Several functions mask invalid regular expression as "not matching" Created: 2018 Jul 06  Updated: 2024 Apr 10  Resolved: 2018 Aug 09

Status: Closed
Project: ZABBIX BUGS AND ISSUES
Component/s: Server (S)
Affects Version/s: 4.0.0alpha9
Fix Version/s: 4.0.0beta1, 4.0 (plan)

Type: Problem report Priority: Trivial
Reporter: Andris Mednis Assignee: Arets Paeglis (Inactive)
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Attachments: Text File valgrind.txt    
Team: Team C
Sprint: Sprint 38, Sprint 39, Sprint 40
Story Points: 2

 Description   

Functions

  • evaluate_LOGEVENTID(),
  • evaluate_STR_one(),
  • process_trap_for_interface().
    use regexp_match_ex() but do not distinguish ZBX_REGEXP_NO_MATCH (valid regexp, does not match) from FAIL (invalid regexp, does not compile).


 Comments   
Comment by Glebs Ivanovskis [ 2018 Jul 06 ]

ZBXNEXT-3262 is very similar.

Comment by Andris Mednis [ 2018 Jul 10 ]

Thanks, Gleb, for noticing

Comment by Arets Paeglis (Inactive) [ 2018 Aug 09 ]

Available inĀ 4.0.0alpha10 (trunk) r83528.

Generated at Fri Apr 26 23:17:26 EEST 2024 using Jira 9.12.4#9120004-sha1:625303b708afdb767e17cb2838290c41888e9ff0.