Skip to content

Instantly share code, notes, and snippets.

Keybase proof

I hereby claim:

  • I am mhalden on github.
  • I am mhalden (https://keybase.io/mhalden) on keybase.
  • I have a public key whose fingerprint is F7C8 8170 B390 8ADD B60B 8BC7 2D6E 35A6 6139 54E9

To claim this, I am signing this object:

diff --git bsm.c bsm.c
index 97663f8..b592c74 100644
--- bsm.c
+++ bsm.c
@@ -65,11 +65,11 @@ bsm_match_event(struct bsm_state *bm, struct bsm_record_data *bd)
for (i = 0; i < a->a_cnt; i++) {
switch (bm->bm_event_type) {
case SET_TYPE_AUCLASS:
- if ((evdata & a->a_data.value[i]) != 0)
+ if ((evdata & a->a_data[i].value) != 0)