libsepol: drop dead store in ocontext_read_xen()
Stephen Smalley
maintainerPATCH 1/1 libsepol: drop dead store in ocontext_read_xen()
commit c84fd6e3f40e ("libsepol,checkpolicy: reject out-of-range pirqcon values") left a dead store behind in ocontext_read_xen(); remove it.
Signed-off-by Stephen Smalley <[email protected]>
--- libsepol/src/policydb.c | 1 - 1 file changed, 1 deletion(-)
libsepol/src/policydb.c +0 -1
@@ -2582,7 +2582,6 @@ static int ocontext_read_xen(const struct policydb_compat_info *info,if (pirq >UINT16_MAX )return -1 ; c->u.pirq = pirq; - c->u.pirq =le32_to_cpu (buf[0 ]);if (context_read_and_validate (&c->context[0 ], p, fp))return -1 ;
Signature · 1 line
2.55.0
Stephen Smalley
maintainerQuoted 6 lines · Stephen Smalley
commit
c84fd6e3f40e("libsepol,checkpolicy: reject out-of-range pirqcon values") left a dead store behind inocontext_read_xen(); remove it.Signed-off-by Stephen Smalley <[email protected]>
This has been merged.