Thanks, Coverity

This commit is contained in:
Přemysl Eric Janouch 2013-07-25 07:42:43 +02:00
parent f8a8395114
commit 8d586931e0
1 changed files with 1 additions and 1 deletions

View File

@ -229,7 +229,7 @@ read_random_access_field (const gz_header *gzh,
} }
*chunk_length = f[6] | (f[7] << 8); *chunk_length = f[6] | (f[7] << 8);
if (chunk_length == 0) if (*chunk_length == 0)
{ {
g_set_error (error, DICTZIP_ERROR, DICTZIP_ERROR_INVALID_HEADER, g_set_error (error, DICTZIP_ERROR, DICTZIP_ERROR_INVALID_HEADER,
"invalid RA chunk length"); "invalid RA chunk length");