By default, Bugzilla does not search the list of RESOLVED bugs.
You can force it to do so by putting the upper-case word ALL in front of your search query, e.g.: ALL tdelibs
We recommend searching for bugs this way, as you may discover that your bug has already been resolved and fixed in a later release. View | Details | Raw Unified | Return to bug 2493
Collapse All | Expand All

(-)a/kernel/kls_hdr/fmt_codec_hdr.cpp (-1 / +5 lines)
Lines 283-289 bool fmt_codec::getHdrHead() Link Here
283
	bool done = false;
283
	bool done = false;
284
	s8 a, b;
284
	s8 a, b;
285
	s8 x[2], y[2];
285
	s8 x[2], y[2];
286
	s8 buff[80];
286
	const u32 buffSize = 80;
287
	s8 buff[buffSize];
287
	u32 count = 0;
288
	u32 count = 0;
288
289
289
	if(!frs.readK(hdr.sig, sizeof(hdr.sig)-1)) return false;
290
	if(!frs.readK(hdr.sig, sizeof(hdr.sig)-1)) return false;
Lines 320-325 bool fmt_codec::getHdrHead() Link Here
320
		if(!frs.readK(&a, sizeof(s8))) return false;
321
		if(!frs.readK(&a, sizeof(s8))) return false;
321
322
322
		++count;
323
		++count;
324
		if (count > buffSize-1) {
325
			return false;
326
		}
323
	}
327
	}
324
328
325
	buff[count] = '\0';
329
	buff[count] = '\0';

Return to bug 2493