Skip to content

[BUG] Crash happens while "Next Search Result" command is applied on the empty search result. #15247

@donho

Description

@donho

Is there an existing issue for this?

  • I have searched the existing issues

Description of the Issue

Running "Next Search Result" command on the empty search result leads Notepad++ crash.

Steps To Reproduce

  1. Open empty document (e.g. New 1)
  2. Open Find dialog (ctrl+f)
  3. Press "Find All in Current Document" button -> Search results with 0 hits
  4. Open menu Search->Next Search Result

Current Behavior

Notepad++ crashes.

Expected Behavior

No crash.

Debug Information

Notepad++ v8.6.8   (64-bit)
Build time : Jun  4 2024 - 00:30:00
Path : C:\Program Files\Notepad++\notepad++.exe
Command Line : 
Admin mode : OFF
Local Conf mode : OFF
Cloud Config : OFF
Periodic Backup : ON
OS Name : Windows 11 Home (64-bit)
OS Version : 23H2
OS Build : 22631.3672
Current ANSI codepage : 1252
Plugins : 
    mimeTools (3.1)
    NppConverter (4.6)
    NppExport (0.4)

Anything else?

No response

Metadata

Metadata

Assignees

Labels

crashissue causing N++ to crash

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions