diff options
| author | Xiaoke Wang <[email protected]> | 2022-01-15 09:11:11 +0800 |
|---|---|---|
| committer | Mimi Zohar <[email protected]> | 2022-02-02 11:44:23 -0500 |
| commit | 83230351c523b04ff8a029a4bdf97d881ecb96fc (patch) | |
| tree | 513ab987fdde4c0e5d239e4535cd304113306342 /scripts/gcc-plugins/randomize_layout_plugin.c | |
| parent | 926fd9f23b27ca6587492c3f58f4c7f4cd01dad5 (diff) | |
integrity: check the return value of audit_log_start()
audit_log_start() returns audit_buffer pointer on success or NULL on
error, so it is better to check the return value of it.
Fixes: 3323eec921ef ("integrity: IMA as an integrity service provider")
Signed-off-by: Xiaoke Wang <[email protected]>
Cc: <[email protected]>
Reviewed-by: Paul Moore <[email protected]>
Signed-off-by: Mimi Zohar <[email protected]>
Diffstat (limited to 'scripts/gcc-plugins/randomize_layout_plugin.c')
0 files changed, 0 insertions, 0 deletions