Skip to content

Commit

Permalink
fix clamonacc infinite loop
Browse files Browse the repository at this point in the history
  • Loading branch information
gsuehiro committed Jan 23, 2024
1 parent 4eaa410 commit d0dd22c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion clamonacc/scan/thread.c
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ static int onas_scan(struct onas_scan_event *event_data, const char *fname, STAT
}
if (retry_on_error) {
logg(LOGG_DEBUG, "ClamMisc: reattempting scan ... \n");
while (err) {
while (*err) {
ret = onas_scan_safe(event_data, fname, sb, infected, err, ret_code);

i++;
Expand Down

0 comments on commit d0dd22c

Please sign in to comment.