[DragonFlyBSD - Bug #2847] (Closed) rtadvd: improper padding of DNSSL option

bugtracker-admin at leaf.dragonflybsd.org bugtracker-admin at leaf.dragonflybsd.org
Tue May 31 22:18:54 PDT 2016

Issue #2847 has been updated by swildner.

Status changed from New to Closed

Bug #2847: rtadvd: improper padding of DNSSL option

* Author: cmusser
* Status: Closed
* Priority: Normal
* Assignee: 
* Category: Networking
* Target version: 4.2.x
The rtadvd program, recently refreshed from FreeBSD, mishandles DNSSL
options, which need to be padded to an eight byte boundary. The code
correctly calculates the padding length, then fails to increment the
pointer used to write the packet data by this amount. As a result, all
subsequent option data gets written into the wrong place, making the
rest of the packet junk.

The attached patch (for the master branch) fixes this.

rtadvd_config.c.diff (795 Bytes)

You have received this notification because you have either subscribed to it, or are involved in it.
To change your notification preferences, please click here: http://bugs.dragonflybsd.org/my/account

More information about the Bugs mailing list