selinux: Return directly after a failed next_entry() in range_read()
authorMarkus Elfring <elfring@users.sourceforge.net>
Sat, 14 Jan 2017 18:35:59 +0000 (19:35 +0100)
committerPaul Moore <paul@paul-moore.com>
Thu, 23 Mar 2017 22:11:33 +0000 (18:11 -0400)
commit57152a5be08e240654993984a0f6e54254882626
tree43ac0ae51d2f2a5320ab98914f03abc636046ed8
parent02fcef27cc908e22ddb68d30ad1b7fd9ac3a1c24
selinux: Return directly after a failed next_entry() in range_read()

Return directly after a call of the function "next_entry" failed
at the beginning.

Signed-off-by: Markus Elfring <elfring@users.sourceforge.net>
Signed-off-by: Paul Moore <paul@paul-moore.com>
security/selinux/ss/policydb.c