Vadim Yanitskiy
ae0bb5e1c7
Calling l1ctl_server_shutdown() whenever the server is not initialized will result in accessing uninitialized values. This can happen if we goto exit before l1ctl_server_start() was called. Initializing the server with zeroes is not an option, because we need to initilize llist_head and osmo_fd structures with proper values. Allocate and initialize struct l1ctl_server in l1ctl_server_start(), deinitialize and free() in l1ctl_server_shutdown(). Change-Id: Idf13914fd0b0ae09b2ce5ece1f4203ebcae05d6e Related: CID#275254 |
||
---|---|---|
.. | ||
Makefile.am | ||
l1ctl.h | ||
l1ctl_proto.h | ||
l1ctl_server.h | ||
l1sched.h | ||
logging.h | ||
trx_if.h | ||
trxcon.h |