1
0
mirror of https://github.com/samba-team/samba.git synced 2025-02-04 17:47:26 +03:00
Jeremy Allison a0d368197d r16241: Fix Klocwork #106 and others like it.
Make 2 important changes. pdb_get_methods()
returning NULL is a *fatal* error. Don't try
and cope with it just call smb_panic. This
removes a *lot* of pointless "if (!pdb)" handling
code. Secondly, ensure that if samu_init()
fails we *always* back out of a function. That
way we are never in a situation where the pdb_XXX()
functions need to start with a "if (sampass)"
test - this was just bad design, not defensive
programming.
Jeremy.
2007-10-10 11:17:27 -05:00
..
2007-10-10 11:05:06 -05:00
2007-10-10 11:17:10 -05:00
2007-10-10 11:06:23 -05:00
2007-10-10 11:15:51 -05:00
2007-10-10 11:05:57 -05:00
2007-10-10 11:16:37 -05:00