[Patch] make "net ads changetrustpw" not abort

Jeremy Allison jra at samba.org
Wed Nov 17 01:42:12 GMT 2004


On Tue, Nov 16, 2004 at 03:52:31PM -0500, Jay Fenlason wrote:
> On Fedora Core 3, or other systems where free()ing a static array
> causes an abort, "net ads changetrustpw" aborts.  I checked the other
> places where generate_random_str() is called, and none of them attempt
> to free the static buffer it returns.
> 
> This patch fixes it:

Applied - thanks !

Jeremy.


More information about the samba-technical mailing list