Skip to content

fix SEGV, some run.c API stuff

Max Kellermann netfilter-devel 1 version Applied

Status from this message: Applied. Thanks.

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest4 patches 9 repliesApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/4check nfct_get_attr()!=NULLsrc/cache.c+32 -143 replies
2/4don't ignore fd events when an alarm is dueinclude/alarm.h src/alarm.c src/run.c+23 -333 replies
3/4__run() returns voidsrc/run.c+3 -52 replies
4/4call __run() after do_alarm_run()src/run.c+3 -61 reply

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/4] fix SEGV, some run.c API stuff

Hi Pablo,

I found a segmentation fault in conntrackd, here is a possible patch. Please verify that this is the "real" solution. This patchset also includes some patches which change the prototype of __run() to the one I proposed last week.

Max

---

Max Kellermann (4):
call __run() after do_alarm_run()
__run() returns void
don't ignore fd events when an alarm is due
check nfct_get_attr()!=NULL

 include/alarm.h |    6 ++++--
 src/alarm.c     |   12 +++++++-----
 src/cache.c     |   46 ++++++++++++++++++++++++++++++++--------------
 src/run.c       |   45 +++++++++++++--------------------------------
 4 files changed, 56 insertions(+), 53 deletions(-)