Re: [PATCH] Fix a potentially uninitialised variable in SELinux hooks

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Paul Moore <paul.moore@xxxxxx> wrote:

> I haven't checked but I'm pretty sure that would fix the problem you are 
> seeing, yes?

Maybe.  The problem, I think, is that the error handling path diverges from
the main path and then converges again, and the compiler can't tell which way
it's going to go.

Besides, this way eliminates an if-statement.  I noticed that addrp was never
passed as NULL, but I was unsure as to whether this will always be the case.

David

--
This message was distributed to subscribers of the selinux mailing list.
If you no longer wish to subscribe, send mail to majordomo@xxxxxxxxxxxxx with
the words "unsubscribe selinux" without quotes as the message.

[Index of Archives]     [Selinux Refpolicy]     [Linux SGX]     [Fedora Users]     [Fedora Desktop]     [Yosemite Photos]     [Yosemite Camping]     [Yosemite Campsites]     [KDE Users]     [Gnome Users]

  Powered by Linux