(/home/sate/Testcases/c/cve/dovecot-1.2.0/src/plugins/acl/acl-mailbox-list.c) |
| |
| 213 | | | iter_is_listing_all_children(struct acl_mailbox_list_iterate_context *ctx) |
| 214 | | | { |
| 215 | | | const char *child; |
| 216 | | | |
| 217 | | | |
| 218 | | | |
| 219 | | | |
| 220 | | | child = t_strdup_printf("%s%cx", ctx->info.name, ctx->sep); |
Ignored Return Value
The return value of t_strdup_printf() is never checked in the highlighted execution scenario. - If the return value can indicate an error, the error will be ignored if the highlighted code executes.
- The return value of t_strdup_printf() is checked 99% of the time in this project. CodeSonar is configured to enforce Ignored Return Value checks for any function whose return value is checked at least 96% of the time, unless the function is used fewer than 20 times. (To modify these thresholds, use configuration file parameters RETURN_CHECKER_SAMPLE_SIZE and RETURN_CHECKER_RATIO. To exempt t_strdup_printf() from the Ignored Return Value check, use configuration file parameter RETURN_CHECKER_IGNORED_FUNCS).
Show: All events | Only primary events |
|
| 221 | | | return ctx->simple_star_glob && |
Event 2:
ctx->simple_star_glob evaluates to false.
hide
|
|
| 222 | | | imap_match(ctx->glob, child) == IMAP_MATCH_YES; |
| 223 | | | } |
| |