[OpenWrt-Devel] [PATCH 0/5] procd: a few cleanup and fixes
Yousong Zhou
yszhou4tech at gmail.com
Sun Jun 14 00:14:42 EDT 2015
Mostly of these are formed when working on `ossherd` [1] recently.
There is a possible use-after-free bug I am not sure what's the proper fix.
1. In service_instance_update(), instance_stop() and instance_free() are called.
2. Later instance_exit() will access the instance structure already free'd previously.
[1] https://github.com/yousong/waller/tree/master/ossherd
Yousong Zhou (5):
service: optimize relaying stdio output of daemons a bit.
service: dump respawn params in the same order as when passed in.
service: remove unused struct watch_subscribe definition.
service: allow get_data of specifc instance.
service: close instance pipe fd on restart.
service/instance.c | 30 ++++++++++++++++++++----------
service/service.c | 33 +++++++++++++++++++++++++++------
service/watch.c | 5 -----
3 files changed, 47 insertions(+), 21 deletions(-)
--
1.7.10.4
_______________________________________________
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel
More information about the openwrt-devel
mailing list