Bug 1213901

Summary: dhex: segfault in searchbox
Product: [openSUSE] openSUSE Tumbleweed Reporter: Adam Majer <amajer>
Component: OtherAssignee: Martin Hauke <mardnh>
Status: NEW --- QA Contact: E-mail List <qa-bugs>
Severity: Normal    
Priority: P5 - None CC: pascal.bleser
Version: Current   
Target Milestone: ---   
Hardware: Other   
OS: Other   
Whiteboard:
Found By: --- Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---

Description Adam Majer 2023-08-02 11:20:27 UTC
to reproduce:

# touch test
# dhex test
press / to search
navigate to asc entry and try to enter something there
<segfault>

#8  stringinput (output=output@entry=0x55555556b310, y=<optimized out>, x=<optimized out>, s=s@entry=0x7fffffffbb70 "", len=len@entry=19) at /usr/src/debug/dhex_0.69/input.c:303
303                             memmove(&buf[cursorpos+1],&buf[cursorpos],len-cursorpos);