#1424 closed defect (fixed)

sysctl_dumpentry() fails to copy data out

Reported by: strauman Owned by: Eric Norum
Priority: normal Milestone: 4.9
Component: network/legacy Version: 4.9
Severity: normal Keywords:
Cc: Blocked By:
Blocking:

Description

When porting the 'arp' program to RTEMS I found
that 'sysctl_dumpentry()' does not copy the
retrieved information out into the user buffer.

Later versions of freebsd contain the line that
is added by the patch. With this patch the
'arp' program (also attached) works as expected.

Attachments (2)

rtsock_sysctl_dump.diff (828 bytes) - added by strauman on 06/05/09 at 03:37:15.
Fix for the reported bug (also in freebsd codebase)
arp.c (19.4 KB) - added by strauman on 06/05/09 at 03:39:37.
testcase ('arp' program with rtems additions (reentrancy))

Download all attachments as: .zip

Change History (4)

Changed on 06/05/09 at 03:37:15 by strauman

Attachment: rtsock_sysctl_dump.diff added

Fix for the reported bug (also in freebsd codebase)

Changed on 06/05/09 at 03:39:37 by strauman

Attachment: arp.c added

testcase ('arp' program with rtems additions (reentrancy))

comment:1 Changed on 10/20/09 at 13:13:40 by strauman

Resolution: fixed
Status: newclosed

comment:2 Changed on 11/10/09 at 13:45:36 by strauman

Note that this (minor issue which most likely does not affect most users) is only fixed in 4.10

Note: See TracTickets for help on using tickets.