mirror of
https://github.com/samba-team/samba.git
synced 2025-02-02 09:47:23 +03:00
55c45110e6
We had a crash bug where a cached copy of a iconv convenience pointer was used after being freed when loadparm asked for iconv to reload. This could happen if a python module used a iconv based function before loadparm was completed. The fix is to ensure that any use of this pointer remains valid, by reusing the pointer itself when it has already been initialised, but filling in the child elements with the updated values.
This directory contains libutil (until we can think of a better name) The idea is that this library contains simple but useful data structures and support functions that are generally useful; not just for Samba but for other projects as well. Functions here should not depend on any external libraries, just on libc (perhaps partially provided by libreplace).