Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 105786
b: refs/heads/master
c: 545e400
h: refs/heads/master
v: v3
  • Loading branch information
Harvey Harrison authored and Linus Torvalds committed Jul 25, 2008
1 parent 46bbcb5 commit 74d78f3
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 8b5ac31e27135a6f2c210c40d03bf8f1b3a86b77
refs/heads/master: 545e400619b24b6b17b7f1f1e838e9ff6d036949
6 changes: 2 additions & 4 deletions trunk/lib/lzo/lzo1x_decompress.c
Original file line number Diff line number Diff line change
Expand Up @@ -138,8 +138,7 @@ int lzo1x_decompress_safe(const unsigned char *in, size_t in_len,
t += 31 + *ip++;
}
m_pos = op - 1;
m_pos -= le16_to_cpu(get_unaligned(
(const unsigned short *)ip)) >> 2;
m_pos -= get_unaligned_le16(ip) >> 2;
ip += 2;
} else if (t >= 16) {
m_pos = op;
Expand All @@ -157,8 +156,7 @@ int lzo1x_decompress_safe(const unsigned char *in, size_t in_len,
}
t += 7 + *ip++;
}
m_pos -= le16_to_cpu(get_unaligned(
(const unsigned short *)ip)) >> 2;
m_pos -= get_unaligned_le16(ip) >> 2;
ip += 2;
if (m_pos == op)
goto eof_found;
Expand Down

0 comments on commit 74d78f3

Please sign in to comment.