bugmake - Bugs: bug #39376, a logical bug that in signame.c


bug #39376: a logical bug that in signame.c

Submitted by:  zz <matrixhannibal>
Submitted on:  Mon 01 Jul 2013 04:58:22 AM UTC  
Severity:  3 - Normal Item Group:  Bug
Status:  Duplicate Privacy:  Public
Assigned to:  None Open/Closed:  Closed
Component Version:  4.0 Operating System:  Any
Fixed Release:  None Triage Status:  None

Add a New Comment(Rich Markup)

You are not logged in

Please log in, so followups can be emailed to you.


Sun 21 Jul 2013 09:53:14 PM UTC, comment #1:

Thanks; this was found and fixed due to bug #39158

Paul D. Smith <psmith>
Project Administrator
Mon 01 Jul 2013 04:58:22 AM UTC, original submission:

From 1b1fe68eb0fd39601061b630592c57e4a6bac081 Mon Sep 17 00:00:00 2001
From: zz <matrixhannibal@gmail.com>
Date: Mon, 1 Jul 2013 11:54:52 +0800
Subject: [PATCH] a logical bug fired

Signed-off-by: zzl <cati_zzl@163.com>
signame.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/signame.c b/signame.c
index c8e45da..59dc949 100644
--- a/signame.c
+++ b/signame.c
@@ -244,7 +244,7 @@ strsignal (int sig)
# endif

- if (sig > 0 || sig < NSIG)
+ if (sig > 0 && sig < NSIG)
return (char *) sys_siglist[sig];

sprintf (buf, "Signal %d", sig);

zz <matrixhannibal>


(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:

No files currently attached


Depends on the following items: None found

Items that depend on this one: None found


Carbon-Copy List
  • -email is unavailable- added by psmith (Posted a comment)
  • -email is unavailable- added by matrixhannibal (Submitted the item)
  • -email is unavailable- added by matrixhannibal (a logical bug fired)

    Do you think this task is very important?
    If so, you can add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.




    Follow 3 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2013-07-21 psmith StatusNone => Duplicate
        Open/ClosedOpen => Closed
    2013-07-01 matrixhannibal Carbon-Copy- => Added matrixhannibal

    Back to the top

    Powered by Savane 3.3