We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Originally reported on Google Code with ID 382
see http://www.viva64.com/en/b/0271/#ID0EWAAG bool j2k_write_rgn(....) { OPJ_BYTE * l_current_data = 00; OPJ_UINT32 l_nb_comp; OPJ_UINT32 l_rgn_size; opj_image_t *l_image = 00; opj_cp_t *l_cp = 00; opj_tcp_t *l_tcp = 00; opj_tccp_t *l_tccp = 00; OPJ_UINT32 l_comp_room; // preconditions assert(p_j2k != 00); assert(p_manager != 00); assert(p_stream != 00); l_cp = &(p_j2k->m_cp); l_tcp = &l_cp->tcps[p_tile_no]; l_tccp = &l_tcp->tccps[p_comp_no]; l_nb_comp = l_image->numcomps; .... } PVS-Studio's diagnostic message: V522 Dereferencing of the null pointer 'l_image' might take place. j2k.c 5205 The 'l_image' pointer is initialized to zero and is not changed anywhere after that. So, when calling the j2k_write_rgn() function, the null pointer will be dereferenced.
Reported by detonin on 2014-08-24 21:00:25
The text was updated successfully, but these errors were encountered:
No archive found. Must be very old. winfried
Reported by szukw000 on 2014-08-30 00:48:27
Sorry, something went wrong.
indeed.
Reported by detonin on 2014-09-30 12:19:34
Invalid
detonin
No branches or pull requests
Originally reported on Google Code with ID 382
Reported by detonin on 2014-08-24 21:00:25
The text was updated successfully, but these errors were encountered: