search for: parse_data_run

Displaying 3 results from an estimated 3 matches for "parse_data_run".

2014 Feb 20
0
[PATCH] NTFS: Incorrect parsing of file runs
...ndy at r-tt.com> --- diff -uprN syslinux-6.02.orig/core/fs/ntfs/ntfs.c syslinux-6.02/core/fs/ntfs/ntfs.c --- syslinux-6.02.orig/core/fs/ntfs/ntfs.c 2013-10-13 21:59:03.000000000 +0400 +++ syslinux-6.02/core/fs/ntfs/ntfs.c 2014-02-20 12:20:26.000000000 +0400 @@ -352,7 +352,6 @@ static int parse_data_run(const void *st uint8_t *byte; int byte_shift = 8; int mask; - uint8_t val; int64_t res; (void)attr_len; @@ -381,11 +380,8 @@ static int parse_data_run(const void *st count = v; res = 0LL; - while (count--) { - val = *byte--; - mask = v...
2014 Feb 20
2
[PATCH] NTFS: fragmented $MFT file was not handled
...*mrec); +static inline struct ntfs_attr_record * ntfs_attr_lookup(struct fs_info *fs, uint32_t type, struct ntfs_mft_record **mmrec, struct ntfs_mft_record *mrec); +static inline uint8_t *mapping_chunk_init(struct ntfs_attr_record *attr,struct mapping_chunk *chunk,uint32_t *offset); +static int parse_data_run(const void *stream, uint32_t *offset, uint8_t *attr_len, struct mapping_chunk *chunk); /*** Function definitions */ @@ -176,127 +180,116 @@ out: return -1; } -static struct ntfs_mft_record *ntfs_mft_record_lookup_3_0(struct fs_info *fs, -...
2011 Oct 05
0
[GIT PULL] NTFS readonly file system support
...dir() ntfs: implement ntfs_next_extent() and ntfs_getfssec() ntfs: implement fixups_realloc() ntfs: set block shift and size to their correct values ntfs: heh :-) ntfs: continue on its implementation ntfs: it's working, partially... :-/ ntfs: fix bug in parse_data_run() ntfs: cleanups ntfs: more cleanups ntfs: make ntfs_match_longname() faster ntfs: make index_inode_setup() faster ntfs: fix ntfs_match_longname() and make index_lookup() faster ntfs: and more speed improvements ntfs: better way to check whether a MFT recor...