summaryrefslogtreecommitdiffstats
path: root/usr.sbin/sade
diff options
context:
space:
mode:
authoremaste <emaste@FreeBSD.org>2005-12-14 23:34:26 +0000
committeremaste <emaste@FreeBSD.org>2005-12-14 23:34:26 +0000
commita7aeead21d6a4abfb93a5304f78212bd5ee19274 (patch)
tree7dba022e4a912d27b8967be741ddeaccacb0df40 /usr.sbin/sade
parentb29e3549b8720cdd8b2235af4a4960c90222e4f9 (diff)
downloadFreeBSD-src-a7aeead21d6a4abfb93a5304f78212bd5ee19274.zip
FreeBSD-src-a7aeead21d6a4abfb93a5304f78212bd5ee19274.tar.gz
When using m_dup(9) to copy more than MHLEN bytes of data, don't create an
mbuf chain that starts with a cluster containing just MHLEN bytes. This happened because m_dup called m_get or m_getcl depending on the amount of data to copy, but then always set the size available in the first mbuf to MHLEN. Submitted by: Matt Koivisto <mkoivisto at sandvine dot com> Approved by: jmg Silence from: rwatson (mentor)
Diffstat (limited to 'usr.sbin/sade')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud