1
0
mirror of https://github.com/samba-team/samba.git synced 2025-02-04 17:47:26 +03:00

19886 Commits

Author SHA1 Message Date
Jeremy Allison
cab256d72a r16392: Klockwork #1168. Protect against null deref.
Jeremy.
2007-10-10 11:18:51 -05:00
Jeremy Allison
e99cedfb0c r16390: Klocwork #604 - ensure if NULL pointer we assert
if len != 0.
Jeremy.
2007-10-10 11:18:51 -05:00
Jeremy Allison
ceea8e2100 r16388: Klocwork #320. Null deref.
Jeremy.
2007-10-10 11:18:51 -05:00
Jeremy Allison
d47ec4dc25 r16386: Klockwork #lots. Ensure talloc_get_type_abort aborts
if handed a NULL pointer, not returns NULL.
Jeremy.
2007-10-10 11:18:51 -05:00
Jeremy Allison
7b68a2acfc r16383: Klocwork #1086. No null deref.
Jeremy.
2007-10-10 11:18:50 -05:00
Jeremy Allison
2e5a881478 r16381: Now samu can't be null don't check it on set. Klockwork
related fix.
Jeremy.
2007-10-10 11:18:50 -05:00
Jeremy Allison
05c50d99a4 r16378: Klocwork #1079. Allow BUFFER5 to cope with a NULL
dependentfiles pointer.
Jeremy.
2007-10-10 11:18:50 -05:00
Jeremy Allison
72709a8465 r16377: Klocwork #1077.
Jeremy.
2007-10-10 11:18:50 -05:00
Jeremy Allison
99605ce296 r16375: Klocwork #1670.
Jeremy.
2007-10-10 11:18:50 -05:00
Jeremy Allison
080464b93d r16373: Fix Klocwork #1071.
Jeremy
2007-10-10 11:18:50 -05:00
Jeremy Allison
5057e90db3 r16371: Fix Klocwork #1048.
Jeremy.
2007-10-10 11:18:50 -05:00
Jeremy Allison
6924d1cd44 r16369: Klocwork #1035.
Jeremy.
2007-10-10 11:18:49 -05:00
Jeremy Allison
b581fee982 r16367: Missed one, Klocwork #915.
Jeremy.
2007-10-10 11:18:49 -05:00
Jeremy Allison
fe05769a1a r16365: Fix Klocwork #895, #898, #899, #915, #932, #938 and a
few other problems Klocwork missed.
Jeremy.
2007-10-10 11:18:49 -05:00
Volker Lendecke
ce1d8423ef r16363: Fix Klocwork ID 981 1652
Volker
2007-10-10 11:18:49 -05:00
Volker Lendecke
e35f901067 r16362: That's the best way to fix a Klocwork bug: Remove the (unused...;-) code
altogether. This was essentially a second implementation if string_to_sid.

Klocwork ID 1038

Volker
2007-10-10 11:18:49 -05:00
Volker Lendecke
8a5cebc19e r16361: Fix Klocwork ID 1731 1770 1771 1775 1796
Volker
2007-10-10 11:18:49 -05:00
Volker Lendecke
3df0bf7d60 r16360: Fix Klocwork ID 136 520 521 522 523 542 574 575 576 607
in net_rpc.c: 715 716 732 734 735 736 737 738 739 749

in net_rpc_audit.c: 754 755 756

in net_rpc_join.c: 757

in net_rpc_registry: 766 767

in net_rpc_samsync.c: 771 773

in net_sam.c: 797 798

Volker
2007-10-10 11:18:48 -05:00
Jeremy Allison
09c8973286 r16358: ALWAYS compile this stuff on a 64-bit box before
checking in. size_t != uint32 on a 64-bit machine.
Jeremy.
2007-10-10 11:18:48 -05:00
Jeremy Allison
6193f11708 r16356: Helping derrell out. Jeremy.
Only set the DFS capability flag if the share is a DFS root.  Fixes bug 3814.
2007-10-10 11:18:48 -05:00
Jeremy Allison
1dea2ab856 r16355: Remove derrell-test created by mistake.
Jeremy.
2007-10-10 11:18:48 -05:00
Derrell Lipman
9b562e919a r16354: r14595@cabra: derrell | 2006-05-09 00:00:35 -0400
Made a trivial change to the file so I can have one more check-in
2007-10-10 11:18:48 -05:00
Derrell Lipman
d11238ecf8 r16353: r14594@cabra: derrell | 2006-05-08 23:59:42 -0400
Added first draft of README file, testing SVK's --patch facility
2007-10-10 11:18:48 -05:00
Günther Deschner
3203ce3b49 r16350: Fix the build.
GUenther
2007-10-10 11:17:37 -05:00
Günther Deschner
d8fd94648f r16349: Another fix to make winbind more robust in large domains:
We may only feed rpc_useraliases with chunks of 1024 entries.  This is
important as the token generation otherwise fails when a user is member
of more then 1024 groups.

Volker, please check.

Guenther
2007-10-10 11:17:37 -05:00
Günther Deschner
232566e1cb r16346: Allow to exit a "net rpc shell" with 'quit' or 'exit'.
Guenther
2007-10-10 11:17:37 -05:00
Günther Deschner
446d79a000 r16345: Improve the chance that our users can discover one of the coolest 'net'
features.

Guenther
2007-10-10 11:17:37 -05:00
Günther Deschner
5d776d5fab r16344: Allow to set passwords directly when creating users via "net rpc user
add" (as the documentation says, and currently onle "net ads user add"
did). Fixes #3843.

Guenther
2007-10-10 11:17:36 -05:00
Volker Lendecke
c08bfdf87a r16340: Commit Bjoern's fix for the AIX PIC suffix. 'make test' still does the first
tests, and vfstest is still able to load modules. Looks like this is ok :-)

Volker
2007-10-10 11:17:36 -05:00
Volker Lendecke
5b1eba76b3 r16339: Fix Klocwork ID
277 278     (cmd_*)

485 487 488 (ldap.c)

Volker
2007-10-10 11:17:36 -05:00
Volker Lendecke
ded2952e00 r16338: Fix Klocwork ID 150 2007-10-10 11:17:36 -05:00
Volker Lendecke
1b3a24732d r16337: Add configure fixes by Bjoern Jacke <samba@j3e.de>.
Volker
2007-10-10 11:17:36 -05:00
Volker Lendecke
def075baf8 r16336: Fix Klocwork ID's 1087, 1095, 1096, 1098, 1099, 1101, 1102, 1105, 1107, 1109,
1111

Volker
2007-10-10 11:17:35 -05:00
Volker Lendecke
555984ea77 r16335: Fix Klocwork IDs 107 108 109 111 112 113 114 116 117 118 121 2007-10-10 11:17:34 -05:00
Volker Lendecke
d3f5acb16e r16334: Fix Klocwork ID's 1087, 1095, 1096, 1098, 1099, 1101, 1102, 1105, 1107, 1109,
1111

Volker
2007-10-10 11:17:34 -05:00
Jeremy Allison
7e397b534a r16326: Klocwork #509. Always check return allocs.
Jeremy.
2007-10-10 11:17:33 -05:00
Jeremy Allison
2b69d436da r16324: Klocwork #499. Allways check results from alloc.
Jeremy.
2007-10-10 11:17:33 -05:00
Jeremy Allison
dd31f3fc0e r16322: Klocwork #481., Don't deref null on malloc fail.
Jeremy.
2007-10-10 11:17:33 -05:00
Jeremy Allison
fed55d653a r16320: Ensure variable is not null before calling fclose.
Klocwork #412.
Jeremy.
2007-10-10 11:17:33 -05:00
Jeremy Allison
aa0d739834 r16317: Klocwork #300. Check for error return on malloc.
Jeremy.
2007-10-10 11:17:33 -05:00
Jeremy Allison
22a345deed r16313: Not a problem - but ensure Klocwork is quiet (#872).
Jeremy.
2007-10-10 11:17:33 -05:00
Jeremy Allison
c430730f5a r16311: Check for NULL return. Klocwork #998.
Jeremy.
2007-10-10 11:17:33 -05:00
Jeremy Allison
34b6b6723b r16309: Fix Klocwork #1596. Check for NULL on talloc.
Jeremy.
2007-10-10 11:17:32 -05:00
Jeremy Allison
e8d86362ba r16307: Make sure we know we must pass a valid pointer here.
Klocwork #1129.
Jeremy.
2007-10-10 11:17:32 -05:00
Jeremy Allison
8ef11a7c6d r16306: Error handling in this asn1 code *sucks*. Fix a generic
class of memory leak bugs on error found by Klocwork (#123).
Many of these functions didn't free allocated memory on
error exit.
Jeremy.
2007-10-10 11:17:32 -05:00
Volker Lendecke
21aaede518 r16301: Fix a memleak 2007-10-10 11:17:32 -05:00
Jeremy Allison
ee77dde9b6 r16299: Fix another "dereferencing type-punned pointer will break
strict-aliasing rules" gcc4 warning.
Jeremy.
2007-10-10 11:17:32 -05:00
Jeremy Allison
db5b4e3f13 r16298: On request of jiri sasek - Sun Microsystems - Prague Czech Republic <Jiri.Sasek@Sun.COM>
change priv_op and priv_info to names that don't
conflict with the solaris namespace.
Jeremy.
2007-10-10 11:17:32 -05:00
Jeremy Allison
7ac5aee88c r16295: Fix gcc4 "warning: dereferencing type-punned pointer will break
strict-aliasing rules" warning.
Jeremy.
2007-10-10 11:17:32 -05:00
Lars Müller
da4c5c3b75 r16294: Fix syntax error.
Credits to Andreas Schwab from SUSE Linux for this fix.
2007-10-10 11:17:31 -05:00