libe2p: Fix potential core-dumping bug in iterate_on_dir()

iterate_on_dir() can try to copy too much data from the directory
entry, resulting in a crash.

Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
1 file changed