Skip to content

Instantly share code, notes, and snippets.

View tarunlalwani's full-sized avatar

Tarun Lalwani tarunlalwani

View GitHub Profile
@tarunlalwani
tarunlalwani / README.md
Last active July 10, 2026 16:48
Electron CDP Fetch.enable + failed requests → native crash (RequestBodyCollector / InterceptionJob::OnComplete UAF)

Electron CDP Fetch crash repro

Native browser-process crash when Fetch.enable (Response) is active and many requests fail (connection refused) while the OS still reports online.

Stack (symbolicated)

content::RequestBodyCollector::~RequestBodyCollector()
content::InterceptionJob::NotifyClient(...)
<?php
$pid = pcntl_fork();
if ($pid == -1) {
die('could not fork');
} else if ($pid) {
// we are the parent
declare(ticks=1);
//pcntl_async_signals(true);
@tarunlalwani
tarunlalwani / install_apache_qpid.sh
Last active August 29, 2015 14:20
This script will help you compile qpid 0.32 on Ubuntu LTS 14.04
#!/bin/sh
export DEBIAN_FRONTEND=noninteractive
QPID_VERSION=0.32
cd $HOME
echo "Creating new folder for qpid - $HOME/qpid"
mkdir qpid
cd qpid
echo "Downloading QPID Packages"
wget -nc http://www.us.apache.org/dist/qpid/$QPID_VERSION/qpid-cpp-$QPID_VERSION.tar.gz &
wget -nc http://www.us.apache.org/dist/qpid/$QPID_VERSION/qpid-tools-$QPID_VERSION.tar.gz &