VLC live555.cpp crash

For questions and discussion that is NOT (I repeat NOT) specific to a certain Operating System.
balasubramanya
Blank Cone
Blank Cone
Posts: 61
Joined: 11 Feb 2013 07:33

VLC live555.cpp crash

Postby balasubramanya » 05 Jul 2013 14:21

Hi,

We are not taking care of malloc failures in block_New calls. Like following portion of code in streamread() in

Code: Select all

if( tk->fmt.i_codec == VLC_CODEC_H264 ) { if( (tk->p_buffer[0] & 0x1f) >= 24 ) msg_Warn( p_demux, "unsupported NAL type for H264" ); /* Normal NAL type */ p_block = block_New( p_demux, i_size + 4 ); p_block->p_buffer[0] = 0x00; p_block->p_buffer[1] = 0x00; p_block->p_buffer[2] = 0x00; p_block->p_buffer[3] = 0x01; memcpy( &p_block->p_buffer[4], tk->p_buffer, i_size ); }
I am getting a crash in p_block->p_buffer[0] = 0x00; line. I am using VLC 1.1.11 version.

Regards,
Bala

Rémi Denis-Courmont
Developer
Developer
Posts: 15266
Joined: 07 Jun 2004 16:01
VLC version: master
Operating System: Linux
Contact:

Re: VLC live555.cpp crash

Postby Rémi Denis-Courmont » 06 Jul 2013 10:06

I don't know how you trigger the crash, but you should file a bug.
Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded

balasubramanya
Blank Cone
Blank Cone
Posts: 61
Joined: 11 Feb 2013 07:33

Re: VLC live555.cpp crash

Postby balasubramanya » 06 Jul 2013 17:12

The crash is happening while rtsp vlc playback from IE browser plugin. It is not consistent crash. I will check the scenario and file a bug.


Return to “General VLC media player Troubleshooting”

Who is online

Users browsing this forum: No registered users and 12 guests