Re: [PATCH 4/4] hfsplus: fixes error propagation of hfsplus_asc2uni

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Hin-Tak,

On Tue, 2014-04-15 at 05:20 +0100, Hin-Tak Leung wrote:
> From: Hin-Tak Leung <htl10@xxxxxxxxxxxxxxxxxxxxx>
> 
> hfsplus_asc2uni() converts NLS strings to unicode on-disk representation.
> It can fail if the input is tool long to fit the destination
> (255 unicode characters for files and 127 for attributes).
> The error propagation for attributes (only one usage of hfsplus_asc2uni()
> in hfsplus_attr_cat_build_key() ) is part of an earlier patch.
> 
> In the catalog code, hfsplus_asc2uni() is used by two routines,
> hfsplus_cat_build_key() and hfsplus_fill_cat_thread().
> The prototypes of those two are extended, and all callers to these two
> routines now check and try to catch errors from them.
> 

As I remember, this work has been done by Sougata Santra
<sougata@xxxxxxxxxx>. And his patch [1], [2] in the next tree now.

Could you check that you've add something new?

Thanks,
Vyacheslav Dubeyko.

[1] https://lkml.org/lkml/2014/2/24/498
[2] https://lkml.org/lkml/2014/2/24/807


--
To unsubscribe from this list: send the line "unsubscribe linux-fsdevel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux Ext4 Filesystem]     [Union Filesystem]     [Filesystem Testing]     [Ceph Users]     [Ecryptfs]     [AutoFS]     [Kernel Newbies]     [Share Photos]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux Cachefs]     [Reiser Filesystem]     [Linux RAID]     [Samba]     [Device Mapper]     [CEPH Development]
  Powered by Linux