Bug 12161 - Corrupted output of "route -A inet6"
Summary: Corrupted output of "route -A inet6"
Status: RESOLVED FIXED
Alias: None
Product: Busybox
Classification: Unclassified
Component: Networking (show other bugs)
Version: 1.29.x
Hardware: All Linux
: P5 normal
Target Milestone: ---
Assignee: unassigned
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-08-31 09:07 UTC by Tomas Paukrt
Modified: 2019-10-08 14:39 UTC (History)
1 user (show)

See Also:
Host:
Target:
Build:


Attachments
patch (483 bytes, application/octet-stream)
2019-08-31 09:07 UTC, Tomas Paukrt
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Tomas Paukrt 2019-08-31 09:07:11 UTC
Created attachment 8236 [details]
patch

The output of the following command is corrupted due to partially initialized structure snaddr6 in the function INET6_displayroutes.

# route -n -A inet6
Destination                                 Next Hop                                Flags Metric Ref    Use Iface
fd00:a40::%3728062048/56                    ::%3728062048                           U     256    1        0 eth0
fd00:a41::1%3728062048/128                  ::%3728062048                           U     1024   2        1 eth1
fd00:a41::%3728062048/56                    ::%3728062048                           U     256    1        0 eth1

In the attachment is a simple patch that fixes this bug.