svn commit: samba r10854 - in branches/SAMBA_4_0/source/rpc_server/spoolss: .

Jelmer Vernooij jelmer at samba.org
Sun Oct 9 22:05:19 GMT 2005


On Mon, Oct 10, 2005 at 07:44:43AM +1000, Andrew Bartlett wrote about 'Re: svn commit: samba r10854 - in branches/SAMBA_4_0/source/rpc_server/spoolss: .':
> On Sun, 2005-10-09 at 21:30 +0000, jelmer at samba.org wrote:
> > Author: jelmer
> > Date: 2005-10-09 21:30:41 +0000 (Sun, 09 Oct 2005)
> > New Revision: 10854

> > WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=10854

> > Log:
> > talloc_get_type() can return NULL..

> Usually this is only on programmer error, where the null dereference is
> a useful trap.  The case where we have to check is where it legitimately
> can be multiple types.
I know, but I was seeing crashes based on this, but I'd rather return a
faulty error then crash on faulty network data... I also pinged metze
about this on IRC, so he can perhaps but in a better fix.

Cheers,

Jelmer

-- 
Jelmer Vernooij <jelmer at samba.org> - http://jelmer.vernstok.nl/
 00:03:57 up 31 days, 21:04,  3 users,  load average: 0.22, 0.17, 0.11
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://lists.samba.org/archive/samba-technical/attachments/20051010/340578f1/attachment.bin


More information about the samba-technical mailing list