Fixed potential problems found by static code analysis

Wolfgang MuellerW WOLFMUEL at de.ibm.com
Tue Jul 7 12:52:29 GMT 2009


Hi there,
     I've done some static code analysis on ctdb and found two potential 
problems in lib/tdb/common/transaction.c. I've verified that a -1 return 
value from transaction_write_existing() does not affect the next 
transaction. I've not yet found a tdb test case which segfaults on the 
missing check in transaction_write(), but I'm still trying to find one...

Regards,
Wolfgang


-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Fixed-problems-found-by-static-code-analysis.patch
Type: application/octet-stream
Size: 1544 bytes
Desc: not available
Url : http://lists.samba.org/archive/samba-technical/attachments/20090707/ccb76500/0001-Fixed-problems-found-by-static-code-analysis.obj


More information about the samba-technical mailing list