Commit 1d0b8739 authored by 石松洲's avatar 石松洲 Committed by John Wu

Fix sepolicy `attribute` rule parsing

Fix #6166
parent d449f49d
...@@ -227,7 +227,7 @@ static bool parse_pattern_6(const Func &fn, const char *action, char *stmt) { ...@@ -227,7 +227,7 @@ static bool parse_pattern_6(const Func &fn, const char *action, char *stmt) {
parsed_tokens arr; parsed_tokens arr;
if (!tokenize_and_check<1, 0>(stmt, arr)) if (!tokenize_and_check<1, 0>(stmt, arr))
return false; return false;
run_fn(arr[0][1]); run_fn(arr[0][0]);
return true; return true;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment