[PATCH] Evaluate 'disable netbios' parameter

Volker Lendecke Volker.Lendecke at SerNet.DE
Fri Dec 21 07:21:57 UTC 2018


On Thu, Dec 20, 2018 at 04:37:30PM -0500, Justin Stephenson via samba-technical wrote:
> +	if (lp_disable_netbios()) {
> +		rc = asprintf(&tmp_err, "NetBIOS support disabled, unable to connect");
> +		if (rc > 0) {
> +			err_str = &tmp_err;

Shouldn't this be

if (rc != -1) {
	*err_str = tmp_err;
}

?

Volker

-- 
Besuchen Sie die verinice.XP 2019 in Berlin!
Anwenderkonferenz für Informationssicherheit
26.-28. Februar 2019 - im Hotel Radisson Blu
Info & Anmeldung hier: http://veriniceXP.org

SerNet GmbH, Bahnhofsallee 1b, 37081 Göttingen
phone: +49-551-370000-0, fax: +49-551-370000-9
AG Göttingen, HRB 2816, GF: Dr. Johannes Loxen
http://www.sernet.de, mailto:kontakt at sernet.de



More information about the samba-technical mailing list