Re:Windows Notepad App Remote Code Execution Vulnerability
by zabzonk on Wednesday February 11, 2026 @05:25AM
(#46973262)
Yep. Back when I used to teach Windows programming in C commercially, the course exercise was to replicate notepad. It was surprising how many of its features you could implement in a week-long course, especially as many of our clients were no great shakes at C.
[ Parent
| on HN ]
Re:Windows Notepad App Remote Code Execution Vulnerability
by NetMageSCW on Wednesday February 11, 2026 @07:32PM
(#46983296)
I think it is more surprising how many deeper features were hidden in Notepad (I did a complete re-implementation using MFC for Windows CE).
Did you implement .LOG and Unicode support with BOM handling?
Re:Windows Notepad App Remote Code Execution Vulnerability
by zabzonk on Wednesday February 11, 2026 @08:08PM
(#46983625)
This was on Windows 3.1. I don't think the version of notepad there had any Unicode support - certainly the one in our training course didn't; I didn't feel up to teaching C, the Windows API _and_ Unicode. It was just a slightly realistic exercise where our clients could implement as much or as little as they felt happy with, making use of standard windows controls as much as possible.