1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-19 10:03:58 +03:00
Michael Adam 1db2c04727 Revert "tdbtool: fix off-by-one error in argument length. (bug #2344)"
This reverts commit fafb8ad2b81b9a46cf8259bedc1dca5023b06115.

This fix is not valid:

1. convert_string() is not only used for key strings but also for data.

2. Some databases use string_tdb_data() i.e. non-null-terminated strings
   as keynames and others (like the one I was using), use
   string_term_tdb_data(), i.e. zero-terminated key strings.

After discussion with Metze, the easiest (and proper way) to
handle this is to specify key names as "keyname\0" for databases
which use string_term_tdb_data().

Sorry for the noise...

Michael
(This used to be commit 17c012c4645f4e9542537c15f80d9b4e74304d11)
2008-07-09 12:57:56 +02:00
..
2008-01-18 15:45:22 +11:00
2008-01-18 15:45:22 +11:00
2008-05-20 01:52:11 +02:00
2007-10-10 14:18:01 -05:00
2008-02-11 22:02:57 +01:00
2008-06-08 04:20:26 +02:00
2008-06-08 04:20:26 +02:00
2008-05-19 23:36:11 +02:00
2008-01-22 18:14:12 +01:00
2008-06-08 04:20:26 +02:00