Project

General

Profile

Bug #7845

cscope-fast: variables might get clobbered by longjmp

Added by Toomas Soome almost 4 years ago. Updated almost 4 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
tools - gate/build tools
Start date:
2017-02-07
Due date:
% Done:

100%

Estimated time:
Difficulty:
Bite-size
Tags:
Gerrit CR:

Description

Errors from gcc 6:

display.c:387:8: error: variable 'egreperror' might be clobbered by 'longjmp' or 'vfork' [-Werror=clobbered]
  char *egreperror = NULL; /* egrep error message */
        ^~~~~~~~~~
display.c:388:11: error: variable 'rc' might be clobbered by 'longjmp' or 'vfork' [-Werror=clobbered]
  FINDINIT rc = NOERROR;  /* findinit return code */
           ^~

#1

Updated by Marcel Telka almost 4 years ago

  • Description updated (diff)
#2

Updated by Electric Monk almost 4 years ago

  • Status changed from In Progress to Closed
  • % Done changed from 90 to 100

git commit 4c6c4a887072f2c96ef418e65d9ecbcfa08c72e3

commit  4c6c4a887072f2c96ef418e65d9ecbcfa08c72e3
Author: Toomas Soome <tsoome@me.com>
Date:   2017-02-08T16:35:20.000Z

    7845 cscope-fast: variables might get clobbered by longjmp
    Reviewed by: Marcel Telka <marcel@telka.sk>
    Reviewed by: Andrew Stormont <andyjstormont@gmail.com>
    Approved by: Richard Lowe <richlowe@richlowe.net>

Also available in: Atom PDF