[PATCH 1/2] write_queue: Avoid possible use-after-free if fd is read-/writable

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/OpenBSC@lists.osmocom.org/.

Holger Hans Peter Freyther holger at freyther.de
Wed Jun 4 15:58:36 UTC 2014


On Wed, May 21, 2014 at 03:08:18PM +0200, Daniel Willmann wrote:

>  	return 0;
> +err_badfd:
> +	return rc;

hi, why do you want to change the return value here? Why is the
return 0 not good enough here?




More information about the OpenBSC mailing list