OSDN Git Service

Fix searching for free slots in the root directory.
authorm4rkusxxl <m4rkusxxl@users.noreply.github.com>
Fri, 19 Jan 2018 06:44:43 +0000 (09:44 +0300)
committerrelan <relan@users.noreply.github.com>
Fri, 19 Jan 2018 06:44:43 +0000 (09:44 +0300)
commit21fab6b208781d9bc6627258a32f50933d1cd901
tree6857a3c7d181e3627ec42b294c88e8c1b14fcf0a
parent067205878748068833e8facd21af385e3a7693be
Fix searching for free slots in the root directory.

When we need to place n entries and slot at position x is occupied, we
should check x+1 instead of jumping to x+n. Otherwise we may end up
putting new entries beyond a 0x00 entry, which Windows 10 interprets as
an end-of-directory mark and does not look farther.
libexfat/node.c