Train

PDA

توجه ! این یک نسخه آرشیو شده میباشد و در این حالت شما عکسی را مشاهده نمیکنید برای مشاهده کامل متن و عکسها بر روی لینک مقابل کلیک کنید : Linux Kernel sctp_setsockopt() Integer Overflow


Behrooz_Ice
05-15-2004, 11:44 PM
When the kmalloc() call is invoked to allocate 'optlen' amount of memory, 1 is incremented to 'optlen' to ensure enough memory is allocated for the option value (optval). However, since sanitization of function arguments are failed to be performed, 'optlen' could be the maximum value that an unsigned integer can hold correctly, thus causing the value to wrap around when the calculation 'optlen + 1' is performed. Enjoy!