[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
gnats/282: Editing PR with multi-enum field causes gnatsd crash
From: |
yngve . svendsen |
Subject: |
gnats/282: Editing PR with multi-enum field causes gnatsd crash |
Date: |
16 Oct 2001 14:50:41 -0000 |
>Number: 282
>Category: gnats
>Synopsis: Editing PR with multi-enum field causes gnatsd crash
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: unassigned
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Tue Oct 16 07:54:01 PDT 2001
>Closed-Date:
>Last-Modified:
>Originator: address@hidden
>Release: GNATS 4, latest CVS
>Organization:
>Environment:
>Description:
Editing a PR with a field of type multi-enum causes a segfault. The segfault is
caused by a call to strpbrk() at line 752 of pr.c, in the subroutine
verifyMultiEnum. The following output comes from gdb after submitting and edit
with a multi-enum field:
Breakpoint 1, verifyMultiEnum (i=0x6bae0, value=0x6b019 "flour") at pr.c:731
(gdb) display curp
1: curp = 0x6b019 "flour"
(gdb) display separators
2: separators = 0x1f4 <Address 0x1f4 out of bounds>
(gdb) next
2: separators = 0x1f4 <Address 0x1f4 out of bounds>
1: curp = 0x6b019 "flour"
(gdb) next
2: separators = 0x0
1: curp = 0x6b019 "flour"
(gdb) next
Program received signal SIGSEGV, Segmentation fault.
0xff1d0820 in strpbrk () from /usr/lib/libc.so.1
So, something seems to be wrong with the 'separators' string.
>How-To-Repeat:
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted:
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- gnats/282: Editing PR with multi-enum field causes gnatsd crash,
yngve . svendsen <=