Task #108870 - added.err

back to task #108870
download
Error: GCC_ANALYZER_WARNING (CWE-476):
389-ds-base-3.2.0.202604101503git77b5d110b/ldap/servers/plugins/syntaxes/guide.c: scope_hint: In function 'criteria_validate'
389-ds-base-3.2.0.202604101503git77b5d110b/ldap/servers/plugins/syntaxes/guide.c:494:43: warning[-Wanalyzer-null-dereference]: dereference of NULL 'last'
#  492|            * character is a BAR and that there is at
#  493|            * least another character after the BAR. */
#  494|->         if ((p <= end) && ((p == end) || (*p != '|'))) {
#  495|               rc = 1;
#  496|               goto exit;