Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 31 Jul 2026 11:59:29 -0500
From:      Kyle Evans <kevans@FreeBSD.org>
To:        Pouria Mousavizadeh Tehrani <pouria@FreeBSD.org>, Shawn Webb <shawn.webb@hardenedbsd.org>
Cc:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org
Subject:   Re: git: dd235f097af4 - main - route(8): Add prefsrc option in netlink
Message-ID:  <8f33c455-680b-4ac8-804f-7c63b9915363@FreeBSD.org>
In-Reply-To: <2405606b-929d-49ba-97b6-c57eb28b9eaa@FreeBSD.org>
References:  <6a6917c5.1e42d.6373b3b9@gitrepo.freebsd.org> <amzFmPMHJXC27yEV@mutt-hbsd> <2405606b-929d-49ba-97b6-c57eb28b9eaa@FreeBSD.org>

index | next in thread | previous in thread | raw e-mail

On 7/31/26 11:05, Pouria Mousavizadeh Tehrani wrote:
> Hi Shawn,
> 
> On 7/31/26 19:28, Shawn Webb wrote:
>> Hey Pouria,
>>
>> This commit causes /sbin/route to crash. I will work on getting a core
>> dump this weekend. Reverting this commit made /sbin/route happy again.
>> I just figured I'd send the email now while I'm thinking about it.
>>
>> Note that I'm using HardenedBSD, so the core dump might be a little
>> bit different than one generated by FreeBSD.
>>
>> Thanks,
>>
> 
> Thank you for the report.
> I'll keep an eye out for your email.
> 

It seems like this should be predicated on `prefsrc != NULL`:

```
snl_add_msg_attr_ip(&nw, RTA_PREFSRC, prefsrc);
```

snl_add_msg_attr_ip seems like it'd be happy to dereference `prefsrc`, and
we might not have one?

Thanks,

Kyle Evans


home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?8f33c455-680b-4ac8-804f-7c63b9915363>