Opened 10 years ago

#7790 new Bugs

Length check for destination buffer

Reported by: Gaurav Gupta <g.gupta@…> Owned by: chris_kohlhoff
Milestone: To Be Determined Component: asio
Version: Boost 1.52.0 Severity: Problem
Keywords: Cc: yogen.saini@…

Description

In file boost/asio/detail/impl/socket_ops.ipp

In case of IPV6, length of dest is not verified while doing strcat at line no:1883 This is required to validate argument length passed by user.

Attached patch is proposed fix for this.

Attachments (1)

socket_ops.ipp_patch (757 bytes ) - added by Gaurav Gupta <g.gupta@…> 10 years ago.
Fix for length validation.

Download all attachments as: .zip

Change History (1)

by Gaurav Gupta <g.gupta@…>, 10 years ago

Attachment: socket_ops.ipp_patch added

Fix for length validation.

Note: See TracTickets for help on using tickets.