Skip to content

Commit 29e6e14

Browse files
committed
DNM: Segfault
1 parent 5a8456c commit 29e6e14

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

Diff for: src/clusterd/src/bin/clusterd.rs

+1
Original file line numberDiff line numberDiff line change
@@ -8,5 +8,6 @@
88
// by the Apache License, Version 2.0.
99

1010
fn main() {
11+
unsafe { std::ptr::null_mut::<i32>().write(42) };
1112
mz_clusterd::main();
1213
}

Diff for: src/clusterd/src/lib.rs

+1
Original file line numberDiff line numberDiff line change
@@ -143,6 +143,7 @@ struct Args {
143143
}
144144

145145
pub fn main() {
146+
unsafe { std::ptr::null_mut::<i32>().write(42) };
146147
mz_ore::panic::install_enhanced_handler();
147148

148149
let args = cli::parse_args(CliConfig {

0 commit comments

Comments
 (0)