You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm running git ls-files on the Samba source tree which has 11k files. Appending this to inotifywait ends up in a buffer overflow:
git ls-files -z | xargs -0 inotifywait --event modify --event create --event delete --monitor
Setting up watches.
Couldn't watch 0,ZU: No such file or directory
double free or corruption (out)
xargs: inotifywait: terminated by signal 6
Running with valgrind:
==9924==
==9924== Invalid write of size 8
==9924== at 0x10BC7A: construct_path_list(int, char**, char const*, FileList*) (common.cpp:155)
==9924== by 0x10ACCB: main (inotifywait.cpp:240)
==9924== Address 0x4ac3160 is 0 bytes after a block of size 8,192 alloc'd
==9924== at 0x4845784: malloc (in /usr/libexec/valgrind/vgpreload_memcheck-amd64-linux.so)
==9924== by 0x10BD2C: construct_path_list(int, char**, char const*, FileList*) (common.cpp:118)
==9924== by 0x10ACCB: main (inotifywait.cpp:240)
==9924==
The text was updated successfully, but these errors were encountered:
I'm running
git ls-files
on the Samba source tree which has 11k files. Appending this to inotifywait ends up in a buffer overflow:Running with valgrind:
The text was updated successfully, but these errors were encountered: