Re: [PATCH] hooks: fix a missing-check bug in selinux_add_mnt_opt()

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

 



Hello!

On 30.05.2019 11:06, Gen Zhang wrote:

In selinux_add_mnt_opt(), 'val' is allcoted by kmemdup_nul(). It returns

   Allocated?

NULL when fails. So 'val' should be checked.

Signed-off-by: Gen Zhang <blackgod016574@xxxxxxxxx>
[...]

MBR, Sergei



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

  Powered by Linux