fix invalid read passed the allocation of peer_info in web_seed_entry

This commit is contained in:
Arvid Norberg
2013-10-04 04:20:50 +00:00
parent 0a230d4b25
commit 9d02b478a6
5 changed files with 11 additions and 5 deletions

View File

@@ -59,8 +59,9 @@ def style_output(o):
'Use of uninitialised value of size' in l or \
'Uninitialised byte(s) found during' in l:
ret += '<span class="compile-error">%s</span>\n' % l
elif ': warning: ' in l or ') : warning C' in l \
or 'Uninitialised value was created by a' in l:
elif ': warning: ' in l or ') : warning C' in or l \
'Uninitialised value was created by a' in l or \
'bytes after a block of size' in l:
ret += '<span class="compile-warning">%s</span>\n' % l
elif l == '====== END OUTPUT ======' and not subtle:
ret += '<span class="subtle">%s\n' % l