From: Philippe De Swert
hashmap_get can return null, so as we dereference it
immediately after calling it, we could crash.
It is unlikely to occur though I expect. I am however unsure
what error should be reported (if at all).
Coverity CID#1237656
---
src/resolve/resolved-manager.c | 2 ++
1 fi
On Sat, 13.09.14 20:40, Tom Gundersen (t...@jklm.no) wrote:
> Yeah, this could happen. It so happens that the loopback link will
> always have ifindex 1, so I guess we could just fall back to checking
> for that if we don't have the real flags.
Is that true even in network namespaces? Is this rea
On Wed, 22.10.14 22:12, Tom Gundersen (t...@jklm.no) wrote:
> On Wed, Oct 22, 2014 at 12:19 PM, Lennart Poettering
> wrote:
> > On Sat, 13.09.14 20:40, Tom Gundersen (t...@jklm.no) wrote:
> >
> >> Yeah, this could happen. It so happens that the loopback link will
> >> always have ifindex 1, so I
On Wed, Oct 22, 2014 at 10:39 PM, Lennart Poettering
wrote:
> On Wed, 22.10.14 22:12, Tom Gundersen (t...@jklm.no) wrote:
>
>> On Wed, Oct 22, 2014 at 12:19 PM, Lennart Poettering
>> wrote:
>> > On Sat, 13.09.14 20:40, Tom Gundersen (t...@jklm.no) wrote:
>> >
>> >> Yeah, this could happen. It so
On Wed, Oct 22, 2014 at 12:19 PM, Lennart Poettering
wrote:
> On Sat, 13.09.14 20:40, Tom Gundersen (t...@jklm.no) wrote:
>
>> Yeah, this could happen. It so happens that the loopback link will
>> always have ifindex 1, so I guess we could just fall back to checking
>> for that if we don't have th
Hi
On Sat, Sep 13, 2014 at 11:24 AM, wrote:
> From: Philippe De Swert
>
> hashmap_get can return null, so as we dereference it
> immediately after calling it, we could crash.
> It is unlikely to occur though I expect. I am however unsure
> what error should be reported (if at all).
>
> Coverity
On Sat, Sep 13, 2014 at 12:10 PM, David Herrmann wrote:
> Hi
>
> On Sat, Sep 13, 2014 at 11:24 AM, wrote:
>> From: Philippe De Swert
>>
>> hashmap_get can return null, so as we dereference it
>> immediately after calling it, we could crash.
>> It is unlikely to occur though I expect. I am howev