Skip to content

Commit b586d4a

Browse files
committed
ensure elf payload args is backed by enough heap memory
1 parent c811fe7 commit b586d4a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

document/en/ps5/exploit.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1431,7 +1431,7 @@ async function userland() {
14311431
let test_payload_store = p.malloc(0x8);
14321432
let pthread_handle_store = p.malloc(0x8);
14331433
let pthread_value_store = p.malloc(0x8);
1434-
let args = p.malloc(0x8 * 3);
1434+
let args = p.malloc(0x8 * 6);
14351435

14361436
// Pass master/victim pair to payload so it can do read/write
14371437
p.write4(rwpair_mem.add32(0x00), master_sock);

0 commit comments

Comments
 (0)