Debian Codegraph @

debian/patches/use-16-for-dummy-pointer.patch

raw
1 Index: malloc-buf/src/lib.rs
2 ===================================================================
3 --- malloc-buf.orig/src/lib.rs
4 +++ malloc-buf/src/lib.rs
5 @@ -11,7 +11,7 @@ use core::slice;
6 use core::str::{Utf8Error, self};
7 use libc::{c_char, c_void};
8
9 -const DUMMY_PTR: *mut c_void = 0x1 as *mut c_void;
10 +const DUMMY_PTR: *mut c_void = 0x10 as *mut c_void;
11
12 /// A type that represents a `malloc`'d chunk of memory.
13 /// When dropped, a `Malloc` will `free` that memory.