Possible NULL-pointer dereference in lib/util/charset/pull_push.c

Volker Lendecke Volker.Lendecke at SerNet.DE
Tue Aug 27 13:33:17 MDT 2013


On Tue, Aug 27, 2013 at 06:51:45PM +0200, Torsten Kurbad wrote:
> Hi Volker,
> 
> On Tue, 27 Aug 2013 17:25:12 +0200, Volker Lendecke
> <Volker.Lendecke at SerNet.DE> wrote:
> >> while trying to build a product on top of the samba Python modules, a
> >> segmentation fault occured, whenever I tried to open a SamDB
> >> connection to our PDC via ldb's ldap backend.
> 
> First of all, this would have to be: Whenever I tried to open a SamDB
> connection to our PDC using wrong credentials. Since the credentials
> should be user-configurable in the end, it is vital that no
> segmentation fault occurs because of, e.g. a typo in the password...
> 
> Sorry, if this lead to some confusion.
> 
> The product, btw., will be an Active Directory adapter for the Zope3
> web framework. Since this runs as a service, it is even more essential
> to have a stable backend...
> 
> >Can you get us a full backtrace of the crash? Get a corefile
> >of your product, attach to it with gdb and do a "bt full".
>  
> It's attached.

For some reason it seems that the credentials passed in have
a NULL domain. How in your python code do you initialize the
credentials?

Volker

-- 
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

*****************************************************************
visit us on it-sa:IT security exhibitions in Nürnberg, Germany
October 8th - 10th 2013, hall 12, booth 333
free tickets available via code 270691 on: www.it-sa.de/gutschein
******************************************************************


More information about the samba-technical mailing list