Skip to content

Commit

Permalink
Code clean up.
Browse files Browse the repository at this point in the history
  • Loading branch information
joachimmetz committed Apr 6, 2015
1 parent d1af7f1 commit 6d2c362
Show file tree
Hide file tree
Showing 5 changed files with 15 additions and 12 deletions.
3 changes: 3 additions & 0 deletions ChangeLog
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,9 @@ TODO
* security descriptor:
- implement

20150406
* code clean up

20150104
* 2015 update
* worked on tests
Expand Down
Empty file modified autogen.ps1
100755 → 100644
Empty file.
2 changes: 1 addition & 1 deletion configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ AC_PREREQ( 2.59 )

AC_INIT(
[libfwnt],
[20150104],
[20150406],
[[email protected]])

AC_CONFIG_SRCDIR(
Expand Down
22 changes: 11 additions & 11 deletions libfwnt/libfwnt_lznt1.c
Original file line number Diff line number Diff line change
Expand Up @@ -429,19 +429,19 @@ int libfwnt_lznt1_decompress(

return( -1 );
}
if( ( compressed_data_index + 1 ) >= compressed_data_size )
{
libcerror_error_set(
error,
LIBCERROR_ERROR_DOMAIN_ARGUMENTS,
LIBCERROR_ARGUMENT_ERROR_VALUE_TOO_SMALL,
"%s: compressed data size value too small.",
function );

return( -1 );
}
while( compressed_data_index < compressed_data_size )
{
if( ( compressed_data_index + 1 ) >= compressed_data_size )
{
libcerror_error_set(
error,
LIBCERROR_ERROR_DOMAIN_ARGUMENTS,
LIBCERROR_ARGUMENT_ERROR_VALUE_TOO_SMALL,
"%s: compressed data size value too small.",
function );

return( -1 );
}
/* The first 2 bytes contain the compressed chunk header
* 0 - 11 compressed chunk size
* 12 - 14 signature value
Expand Down
Empty file modified synclibs.ps1
100755 → 100644
Empty file.

0 comments on commit 6d2c362

Please sign in to comment.