]> code.delx.au - gnu-emacs/commit
Fix issues found by auditing w32notify code
authorEli Zaretskii <eliz@gnu.org>
Sat, 6 Feb 2016 16:30:35 +0000 (18:30 +0200)
committerEli Zaretskii <eliz@gnu.org>
Sat, 6 Feb 2016 16:30:35 +0000 (18:30 +0200)
commitbe1d87492e2fba479151edcaf7f3818675b1eac7
tree178d308e60f9f2774c9df216b9b7db157724a3ba
parent87ae21858adc173c129ff8dfec8ce74cd82e77be
Fix issues found by auditing w32notify code

* src/w32inevt.c (handle_file_notifications): Count the number of
events to be returned.
* src/w32notify.c (send_notifications): Don't copy to the file
notification buffer more than it can hold.  (Bug#22534)
src/w32inevt.c
src/w32notify.c