Commit a212dee
committed
Modify q_peek error handling in queue.c
audisp/plugins/remote/queue.c fails with EBADMSG when a queue entry lacks
a terminating '\0', though a comment suggests the entry could simply be
dropped. Updated q_peek to warn about queue entries missing a terminator,
drop the invalid head, and retry the peek operation.1 parent e7e1e67 commit a212dee
1 file changed
+4
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
413 | 413 | | |
414 | 414 | | |
415 | 415 | | |
416 | | - | |
417 | | - | |
418 | | - | |
| 416 | + | |
| 417 | + | |
| 418 | + | |
| 419 | + | |
419 | 420 | | |
420 | 421 | | |
421 | 422 | | |
| |||
0 commit comments