If you double-click on a link which is too long (> 2*MAX_PATH = 520 characters), N++ will crash. This is due to a buffer overflow in ScintillaEditView::getGenericText(), more specifically a call to the unsafe function lstrcpy().
I've attached two patches:
* fix_bug.patch fixes only this bug.
* fix_root_cause.patch replaces lstrcpy() with the safe function _tcsncpy_s(). This will prevent buffer overflows in any function which uses getGenericText().
I personally think the root cause should be fixed, and not just this particular bug.