<html><body><div style="color:#000; background-color:#fff; font-family:times new roman, new york, times, serif;font-size:12pt">You want me to put a few checks in before?<br><div><span></span></div><div><br><blockquote style="border-left: 2px solid rgb(16, 16, 255); margin-left: 5px; margin-top: 5px; padding-left: 5px;">  <div style="font-family: times new roman, new york, times, serif; font-size: 12pt;"> <div style="font-family: times new roman, new york, times, serif; font-size: 12pt;"> <div dir="ltr"> <hr size="1">  <font face="Arial" size="2"> <b><span style="font-weight:bold;">From:</span></b> Georgi Chorbadzhiyski <gf@unixsol.org><br> <b><span style="font-weight: bold;">To:</span></b> JULIAN GARDNER <joolzg@btinternet.com>; Mailing list for DVBlast developers <dvblast-devel@videolan.org> <br> <b><span style="font-weight: bold;">Sent:</span></b> Thursday, 24 October 2013, 15:17<br> <b><span style="font-weight:
 bold;">Subject:</span></b> Re: [dvblast-devel] More  patches<br> </font> </div> <div class="y_msg_container"><br>Around 10/24/2013 04:10 PM, JULIAN GARDNER scribbled:<br>> diff --git a/util.c b/util.c<br>> index 949c28e..d29d779 100644<br>> --- a/util.c<br>> +++ b/util.c<br>> @@ -432,7 +432,9 @@ uint8_t **psi_unpack_sections( uint8_t *p_flat_sections, unsigned int i_size ) {<br>>          /* Must use allocated section not p_flat_section + offset directly! */<br>>          uint8_t *p_section_local = psi_private_allocate();<br>>          memcpy( p_section_local, p_section, i_section_len );<br>> -        psi_table_section( pp_sections, p_section_local );<br>> +        if( !psi_table_section( pp_sections, p_section_local ) {<br>> +            // What do we do with this
 failure<br>> +        }<br>>  <br>>          i_offset += i_section_len;<br>>          if ( i_offset >= i_size - 1 )<br><br>There are bigger problems here if psi_table_allocate() /just a few lines before/<br>fails.<br><br>-- <br>Georgi Chorbadzhiyski | <a href="http://georgi.unixsol.org/" target="_blank">http://georgi.unixsol.org/</a> | <a href="http://github.com/gfto/" target="_blank">http://github.com/gfto/</a><br><br><br></div> </div> </div> </blockquote></div>   </div></body></html>