summaryrefslogtreecommitdiffhomepage
path: root/android/lib/theme
diff options
context:
space:
mode:
authorJoakim Hulthe <joakim.hulthe@mullvad.net>2025-02-13 18:39:52 +0100
committerJoakim Hulthe <joakim.hulthe@mullvad.net>2025-02-25 13:43:53 +0100
commitb899e4b0cda73cca24dc22c8396d72b1cc39dc6c (patch)
treeac54e67c63c404f7d30829cc08c332e7ab1fe21c /android/lib/theme
parent0cce552a63620ca316a21ee29abcb9f0ab23cf52 (diff)
downloadmullvadvpn-b899e4b0cda73cca24dc22c8396d72b1cc39dc6c.tar.xz
mullvadvpn-b899e4b0cda73cca24dc22c8396d72b1cc39dc6c.zip
Fix improper pointer provenance
`&mut buffer[0] as *mut u8` will create a raw pointer that is only allowed to access the very first byte of `buffer`. `slice::as_mut_ptr` is preferred.
Diffstat (limited to 'android/lib/theme')
0 files changed, 0 insertions, 0 deletions