<?xml version="1.0" encoding='utf-8'?>
<!DOCTYPE wml PUBLIC "-//WAPFORUM//DTD WML 1.1//EN" "http://www.wapforum.org/DTD/wml_1.1.xml">
<wml>
<card id="card1" title="Buffer overflow - Page 11 - Wikipedia">
<p>
<a accesskey="1" href="page.php?w=buffer_overflow&amp;p=10">1.Previous</a><br />
<a accesskey="3" href="page.php?w=buffer_overflow&amp;p=12">3.Next</a>
</p>
<p>library function is preferred over <kbd><a href="page.php?w=strncpy">strncpy</a></kbd> which does not null-terminate the destination buffer if the source string's length is greater than or equal to the size of the buffer (the third argument passed to the function). Therefore <kbd>a</kbd> may not be null-terminated and cannot be treated as a valid C-style string.</p>

<p><big>Exploitation</big></p>
<p>The techniques to <a href="page.php?w=exploit_%28computer_security%29">exploit</a> a buffer overflow vulnerability vary by <a href="page.php?w=computer_architecture">architecture</a>,</p><p>
<a accesskey="1" href="page.php?w=buffer_overflow&amp;p=10">1.Previous</a><br />
<a accesskey="3" href="page.php?w=buffer_overflow&amp;p=12">3.Next</a>
</p>

<do type="prev" label="Search">
        <go href="search.wml"/>
</do>

</card>
</wml>
