Commit Graph

5178 Commits

Author SHA1 Message Date
xlfeng 1fbe955c41 Revert "Contains GPL V3.0 license, remove software code."
This reverts commit 97391bd84f.

Signed-off-by: xlfeng <xulifeng7@huawei.com>
2022-06-15 20:14:55 +08:00
openharmony_ci 75c47eead1 !19 Contains GPL V3.0 license, remove software code.
Merge pull request !19 from xlfeng/master
2022-06-15 07:22:56 +00:00
xlfeng 97391bd84f Contains GPL V3.0 license, remove software code.
Signed-off-by: xlfeng <xulifeng7@huawei.com>
2022-06-14 19:47:52 +08:00
openharmony_ci 496fd2db4c !16 Refesh the version in the README.OpenSource
Merge pull request !16 from xlfeng/master
2022-06-09 09:05:32 +00:00
xlfeng 1e40ecabab Refesh the version in the README.OpenSource
Signed-off-by: xlfeng <xulifeng7@huawei.com>
2022-06-08 17:23:58 +08:00
mamingshuai 8b4822c7ac !14 merge release version 2022.5.17
Merge pull request !14 from xlfeng/master

上游社区提交同步, 忽略DCO检查, 手工合入
2022-06-07 12:25:09 +00:00
xlfeng f4d4218c4f Merge release version '2022.5.17'
Signed-off-by: xlfeng <xulifeng7@huawei.com>
2022-06-07 10:17:47 +08:00
Jean-Pierre André 875a1d4e90 Configured for version 2022.5.17
This is a security release. The soname is unchanged as no API has changed.
2022-05-17 08:34:26 +02:00
openharmony_ci 81e9b3e287 !12 Rename file README to README.md
Merge pull request !12 from xlfeng/master
OpenHarmony-v3.2-Beta1
2022-05-11 12:55:07 +00:00
xlfeng 2e041211b7 Rename file README to README.md
Signed-off-by: xlfeng <xulifeng7@huawei.com>
2022-05-11 19:22:35 +08:00
Jean-Pierre André fb28eef6f1 Hardened the checking of directory offset requested by a readdir
When asked for the next directory entries, make sure the chunk offset
is within valid values, otherwise return no more entries in chunk.
2022-05-10 10:48:18 +02:00
Jean-Pierre André 7f81935f32 Returned an error code when the --help or --version options are used
Accepting --help or --version options may leave the ntfs-3g process in an
unclean state, so reject them while processing options. Also reject
them in libfuse-lite.
2022-05-10 10:44:34 +02:00
Jean-Pierre André bce5734a75 Fixed operation on little endian data
Forcing an even usa_of, in a recent security patch, must be made on cpu
endian data.
2022-05-10 10:40:17 +02:00
Jean-Pierre André 96412e28e5 Fixed possible out-of-buffer condition in ntfsck
A bad usa_count could lead to an out-of-buffer condition. Just avoid
the issue and report the error, still not fix it.
2022-05-10 10:30:24 +02:00
openharmony_ci 137277d726 !10 确认版本号为2021.8.22。
Merge pull request !10 from xlfeng/master
2022-04-21 02:19:07 +00:00
xlfeng bca367f4c6 确认版本号为2021.8.22。
Signed-off-by: xlfeng <xulifeng7@huawei.com>
2022-04-20 14:43:13 +08:00
openharmony_ci cbcfe6c35b !9 单个模块扫描(三方软件)结果清零.
Merge pull request !9 from xlfeng/master
OpenHarmony-v3.1-Release
2022-02-16 12:39:25 +00:00
xlfeng 70686594b3 单个模块扫描(三方软件)结果清零.
Signed-off-by: xlfeng <xulifeng7@huawei.com>
2022-02-16 16:52:31 +08:00
openharmony_ci c409492d89 !8 change component name: storage_service
Merge pull request !8 from jiahaoluo/master
2022-02-10 03:07:50 +00:00
jiahaoluo 8e8d70a089 change part name to storage_service
Signed-off-by: jiahaoluo <luojiahao5@huawei.com>
2022-02-09 15:54:03 +08:00
openharmony_ci 21bab94f30 !7 feat: add bundle.json
Merge pull request !7 from pjscc/master
2022-01-25 02:26:14 +00:00
pjscc 151c92c793 add bundle.json
Signed-off-by: pjscc <pangjiashuai@huawei.com>
2022-01-24 16:56:45 +08:00
openharmony_sig_ci 898e0482c1 !6 生成工具只需要fsck,mkfs,mount。
Merge pull request !6 from xlfeng/master
2022-01-13 12:37:43 +00:00
xlfeng 40e875fdc5 生成工具只需要fsck,mkfs,mount。
Signed-off-by: xlfeng <xulifeng7@huawei.com>
2022-01-13 17:28:06 +08:00
openharmony_sig_ci 6feb799898 !5 subsystem_name的值改为filemanagement。BUILD.gn的路径e2fsprogs/ntfs-3g/改为ntfs-3g/。
Merge pull request !5 from xlfeng/master
2022-01-13 02:26:30 +00:00
xlfeng fbe563ecb3 BUILD.gn中subsystem_name的值改为filemanagement,根目录的BUILD.gn中storage_manager改为filemanagement,路径e2fsprogs/ntfs-3g/改为ntfs-3g/.
Signed-off-by: xlfeng <xulifeng7@huawei.com>
2022-01-12 18:20:47 +08:00
openharmony_sig_ci 4ee38e32ee !4 Delete the added file README.md, use the README in the source code.
Merge pull request !4 from xlfeng/master
2021-12-24 06:59:52 +00:00
xlfeng ed4e0c0332 Delete the added file README.md, use the README in the source code.
Signed-off-by: xlfeng <xulifeng7@huawei.com>
2021-12-22 14:58:17 +08:00
openharmony_sig_ci 79b7295f1d !3 BUILD.gn and config.h modify Huawei license to GPL-2.0 license.Add #ifndef CONFIG_H #define CONFIG_H on the head of file and #endif on the end of config.h.
Merge pull request !3 from xlfeng/master
2021-12-21 10:56:32 +00:00
xlfeng 2a3a31ad08 BUILD.gn add install_enable = true and install_images = [system].
Signed-off-by: xlfeng <xulifeng7@huawei.com>
2021-12-21 14:46:13 +08:00
xlfeng d0deb51061 BUILD.gn and config.h modify Huawei license to GPL-2.0 license.Add #ifndef CONFIG_H #define CONFIG_H on the head of file and #endif on the end of config.h.
Signed-off-by: xlfeng <xulifeng7@huawei.com>
2021-12-20 22:15:46 +08:00
openharmony_sig_ci 9cc9f125e0 !2 Build successful,add four BUILD.gn and one config.h files.Add OAT related files,OAT.xml,README.OpenSource and README.md.
Merge pull request !2 from xlfeng/master
2021-12-16 06:23:42 +00:00
xlfeng 4192a28aa8 Build successful,add four BUILD.gn and one config.h files.Add OAT related files,OAT.xml,README.OpenSource and README.md.
Signed-off-by: xlfeng <xulifeng7@huawei.com>
2021-12-16 10:34:09 +08:00
Jean-Pierre André 5ce8941bf4 Made sure there is no null character in an attribute name (bis)
When copying an attribute name which contains a null, it is truncated
and this may lead to accessing non-allocated bytes when relying on the
expected name length. Such (illegal) names must therefore be rejected.
2021-11-05 08:41:20 +01:00
Jean-Pierre André 6efc1305c1 Made sure the client log data does not overflow from restart page
Strengthen the consistency check of the length of restart pages, and
check that log client records are within such a restart page.
2021-10-20 09:53:28 +02:00
Jean-Pierre André 60717a846d Avoided allocating and reading an attribute beyond its full size
Before reading a full attribute value for internal use, its expected
length has been checked to be < 0x40000. However the allocated size
in the runlist may be much bigger as a consequence of a bug or malice.
To prevent malloc'ing excessive size, restrict the size of the last
run to read to the needed length.
2021-09-21 10:56:06 +02:00
Jean-Pierre André 838b6e35b4 Made sure there is no null character in an attribute name
When copying an attribute name which contains a null, it is truncated
and this may lead to accessing non-allocated bytes when relying on the
expected name length. Such names must therefore be rejected.
2021-09-21 10:54:50 +02:00
Jean-Pierre André a8818cf779 Used a default usn when the former one cannot be retrieved
When creating a new MFT record, the former seq_no and usn are retrieved
to avoid the new one to be mistaken for the former one.
This may not be possible when the record is used for the first time
or after some bad error. In such situation use default values.
2021-09-21 10:53:16 +02:00
Jean-Pierre André 92b9fbc6fe Updated the urls present in the ntfsprogs manuals
The urls now point at Github
2021-08-30 10:42:14 +02:00
Jean-Pierre André 399ba862c9 Updated the urls present in ntfs-3g code
The urls now point at Github
2021-08-30 09:27:33 +02:00
Jean-Pierre André 84739d9e4d Updated the ntfs-3g manual
Reordered the options alphabetically and updated the urls.
2021-08-30 09:20:48 +02:00
Jean-Pierre André 88c4a19c5a Updated the README
Added a recommendation to use ntfs-3g packaged by a distribution, and
inserted a link to the Wiki.
2021-08-25 08:50:03 +02:00
Jean-Pierre André 31ac7e4f0f Configured for version 2021.8.22 github.com/2021.8.22 2021-08-22 17:05:00 +02:00
Jean-Pierre André a213e6352b Defined Github as the host for documentation
Documentation and support is now on github.com/tuxera
2021-08-22 17:01:39 +02:00
Jean-Pierre André 21b49600ea Configured for version 2021.8.14 github.com/2021.8.14 2021-08-14 08:44:08 +02:00
Jean-Pierre André 1261e6b60a Fixed the detection of the end of attribute list
The recent detection of a truncated attribute list entry overlooked the
normal detection of the end of list. Moreover the check for name
overflow is to be done later and not needed at this stage.
2021-07-26 08:49:45 +02:00
Jean-Pierre André a337c4c1eb Renamed ntfs_index_entry_consistent() as ntfs_index_entry_inconsistent()
The original name was error prone when checking the condition.
2021-07-19 09:23:23 +02:00
Jean-Pierre André 45141516d7 Renamed ntfs_attr_consistent() as ntfs_attr_inconsistent()
The original name was error prone while checking the condition.
2021-07-19 09:23:23 +02:00
Jean-Pierre André bb4456d339 Redesigned the INDEX_ROOT consistency checks
By ordering the values from smallest to biggest, there is less chance
to be caught by an arithmetic overflow.
2021-07-19 09:23:23 +02:00
Jean-Pierre André 81725f6a54 Made sure the requested compression block size is supported
Compressed files can only be opened if NTFS version < 3.0, and
the only supported compression block size is 16 clusters long.
2021-07-19 09:23:23 +02:00