[zeek/spicy] 80d243: Fix dereference null return values.

0 views
Skip to first unread message

Evan Typanski

unread,
Sep 8, 2025, 10:17:15 AM (23 hours ago) Sep 8
to spicy-...@zeek.org
Branch: refs/heads/topic/etyp/coverity-stuff-smiley-face
Home: https://github.com/zeek/spicy
Commit: 80d243b0b8b164fbdeec4e0da9d9136a74a34291
https://github.com/zeek/spicy/commit/80d243b0b8b164fbdeec4e0da9d9136a74a34291
Author: Evan Typanski <evan.t...@corelight.com>
Date: 2025-09-08 (Mon, 08 Sep 2025)

Changed paths:
M hilti/toolchain/src/compiler/codegen/expressions.cc
M hilti/toolchain/src/compiler/optimizer.cc

Log Message:
-----------
Fix dereference null return values.

These seem perfectly valid since they're guaranteed elsewhere.
So just add assertions.


Commit: 279fb61f1df12d2ad75c68f377aa94d91b04b9bf
https://github.com/zeek/spicy/commit/279fb61f1df12d2ad75c68f377aa94d91b04b9bf
Author: Evan Typanski <evan.t...@corelight.com>
Date: 2025-09-08 (Mon, 08 Sep 2025)

Changed paths:
M hilti/toolchain/src/compiler/optimizer.cc

Log Message:
-----------
Fix auto causes copy.


Commit: 8d7d5ff511f73e152547c770df6d0fe6ee4c5774
https://github.com/zeek/spicy/commit/8d7d5ff511f73e152547c770df6d0fe6ee4c5774
Author: Evan Typanski <evan.t...@corelight.com>
Date: 2025-09-08 (Mon, 08 Sep 2025)

Changed paths:
M hilti/toolchain/src/compiler/optimizer.cc

Log Message:
-----------
Fix variable copied when should move.


Commit: 4ae72cda39c832a93549cd3050ec2173e89303c7
https://github.com/zeek/spicy/commit/4ae72cda39c832a93549cd3050ec2173e89303c7
Author: Evan Typanski <evan.t...@corelight.com>
Date: 2025-09-08 (Mon, 08 Sep 2025)

Changed paths:
M hilti/toolchain/src/base/util.cc

Log Message:
-----------
Fix resource leak if OOM.


Compare: https://github.com/zeek/spicy/compare/80d243b0b8b1%5E...4ae72cda39c8

To unsubscribe from these emails, change your notification settings at https://github.com/zeek/spicy/settings/notifications

Evan Typanski

unread,
Sep 8, 2025, 11:29:27 AM (21 hours ago) Sep 8
to spicy-...@zeek.org
Branch: refs/heads/main
Commit: 7635e113080be6fc20cb308636c8c38565c95c8a
https://github.com/zeek/spicy/commit/7635e113080be6fc20cb308636c8c38565c95c8a
Author: Evan Typanski <evan.t...@corelight.com>
Date: 2025-09-08 (Mon, 08 Sep 2025)

Changed paths:
M CHANGES
M VERSION
M hilti/toolchain/src/base/util.cc
M hilti/toolchain/src/compiler/codegen/expressions.cc
M hilti/toolchain/src/compiler/optimizer.cc

Log Message:
-----------
Merge remote-tracking branch 'origin/topic/etyp/coverity-stuff-smiley-face'

* origin/topic/etyp/coverity-stuff-smiley-face:
Fix resource leak if OOM.
Fix variable copied when should move.
Fix auto causes copy.
Fix dereference null return values.


Compare: https://github.com/zeek/spicy/compare/a61017994126...7635e113080b
Reply all
Reply to author
Forward
0 new messages