There are some not checked return values after calling functions that allocate memory.
Created attachment 14243 [details] Patches for master Patches I sent to the samba-technical list
Patches are in master (e.g. f75e8f58cd2390c092631803d333adadb475306a). Thanks.