Hi Bernhard

Am 23.10.18 um 18:45 schrieb Bernhard Übelacker:
> Hello all,
> 
> I tried to reproduce this issue and think I found the problem.
> 
> In commit [1] a typo creeped in and "block->name" got replaced by 
> "block_name".
> Variable block_name gets not initialized and therefore g_str_has_prefix 
> crashes.
> Might be on other architectures just valid or zero by luck.
> 
>                       /* Bridge configuration */
> -                     if(!strncmp ("br", block->name, 2)) {
> +                     if (g_str_has_prefix (block_name, "br")) {
>                               /* Try to find bridge ports */
> 

Well, spotted. That looks indeed like the culprit.

I've forwarded this upstream at
https://gitlab.freedesktop.org/NetworkManager/NetworkManager/merge_requests/31

-- 
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to