[Date Prev][Date Next] [Chronological] [Thread] [Top]

(ITS#6414) back-ldif can write to parent dir of database dir



Full_Name: Hallvard B Furuseth
Version: HEAD, RE24
OS: Linux
URL: 
Submission from: (NULL) (129.240.6.233)
Submitted by: hallvard


back-ldif can be convinced to write/delete a file in the parent
directory of the database directory: "<database dirname>.ldif".
That shouldn't happen, even if the only use case I know is silly:
slapadd entry "" to an LDIF database with suffix "".  Fixing.

(The fix is not to prevent this in slapadd, which explicitly
accepts this case - I think for some syncrepl magic from bdb.)