Skip to content

Commit

Permalink
[skip ci] Use _exit for type inference verification
Browse files Browse the repository at this point in the history
Otherwise we get useless leak warnings when building with asan.
  • Loading branch information
iluuu1994 committed Jan 23, 2024
1 parent 0a16239 commit 7040e8e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Zend/zend_verify_type_inference.h
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
#define ZEND_VERIFY_TYPE_INFERENCE_ERROR(msg, ...) \
do { \
fprintf(stderr, "Inference verification failed at %04d %s (" msg ")\n", (int)(opline - EX(func)->op_array.opcodes), operand, __VA_ARGS__); \
exit(139); \
_exit(139); \
} while (0)

static void zend_verify_type_inference(zval *value, uint32_t type_mask, uint8_t op_type, zend_execute_data *execute_data, const zend_op *opline, const char *operand)
Expand Down

0 comments on commit 7040e8e

Please sign in to comment.