[Bugfix] remux.c

Das Original Benutzerinterface Neutrino-SD incl. zapit, sectionsd, yWeb etc...
Antworten
GetAway
Contributor
Beiträge: 1509
Registriert: Donnerstag 27. Dezember 2007, 12:59

[Bugfix] remux.c

Beitrag von GetAway »

apps/misc/libs/libmpegtools/remux.c

index b[3] out of bounds.

Code: Alles auswählen

	while (found < 4 && ring_rest(vid_buffy)){
		uint8_t b[3];

		vring_peek( rem, b, 4, 0);
		if ( b[0] == 0x00 && b[1] == 0x00 && b[2] == 0x01
		     && b[3] == 0xb3) found = 4;
		else {
			off++;
			vring_read( rem, b, 1);
		}
	}
Fix:array_index_out_of_bounds_2012_06_14_ 033.diff
Mourice

Re: [Bugfix] remux.c

Beitrag von Mourice »

Hi,

kann leider nicht sagen, ob es was bringt ...

Aber es hat auch keine negativen Auswirkungen ... :D

MfG
rhabarber1848
CDK-Experte
Beiträge: 4335
Registriert: Donnerstag 3. April 2008, 14:05

Re: [Bugfix] remux.c

Beitrag von rhabarber1848 »

GetAway hat geschrieben:array_index_out_of_bounds_2012_06_14_ 033.diff
committed: http://article.gmane.org/gmane.comp.vid ... x.scm/3514
Antworten