EricLaw 🎻
banner
ericlawrence.com
EricLaw 🎻
@ericlawrence.com
Seek first to understand.

Impatient optimist. Dad. Zetetic. Author. Speaker. Made Fiddler & SlickRun. My code runs in your browser. @ MSFT 18y+ on web and security. My words are my own.
he/him

https://ericlawrence.com/
https://textslashplain.com/
We are 9 years in to the 2 weeks we’ve been waiting to hear the new Health Care plan.
November 11, 2025 at 12:00 PM
rats
November 10, 2025 at 5:01 PM
November 10, 2025 at 4:59 PM
There's a fun post about the security implications of putting too much faith into argv[0]:

www.wietzebeukema.nl/blog/why-bot...
Why bother with argv[0]?
The first argument of a program’s command line, typically reflecting the program’s name/path and often referred to as argv[0], can in most cases be set to an arbitrary value without affecting the proc...
www.wietzebeukema.nl
November 10, 2025 at 4:48 PM
The comment doesn't mention this fact:
November 10, 2025 at 4:47 PM
Chromium sets its executable path variable with the supposition that it's a relative path that can be made absolute.

But an argv[0] path without a filename extension isn't really a proper relative path...
November 10, 2025 at 4:39 PM
Sure, if that’s an option.
November 9, 2025 at 10:58 PM
It’s the company’s money, and the owner is well on his way to being a trillionaire. It’s cheaper to buy the system out.
November 9, 2025 at 9:52 PM
lol
November 9, 2025 at 4:31 PM