]> git.ipfire.org Git - thirdparty/grub.git/commit
2006-04-30 Yoshinori K. Okuji <okuji@enbug.org>
authorokuji <okuji@localhost>
Sun, 30 Apr 2006 17:30:12 +0000 (17:30 +0000)
committerokuji <okuji@localhost>
Sun, 30 Apr 2006 17:30:12 +0000 (17:30 +0000)
commitf85934bd9bedf874b8a84864da27a9b882629f80
tree37b1aadfbf46f0798ccdbd31e59e8f67a6638be8
parent8f8a2cf8e239769267a804876f62913e4f0bf2b6
2006-04-30  Yoshinori K. Okuji  <okuji@enbug.org>

        * fs/hfsplus.c (grub_hfsplus_read_block): Fixed a memory leak.
        (grub_hfsplus_iterate_dir): Reordered to skip unknown nodes. Also,
        skip a node whose name is obviously invalid as UTF-16,
        i.e. contains a NUL character. Stop the iteration when the last
        directory entry is found. Instead of using the return value of
        grub_hfsplus_btree_iterate_node, store the value in RET and use
        it, because the iterator can be stopped by the last directory
        entry.
ChangeLog
fs/hfsplus.c