Project

General

Profile

Bug #8456

libipsecutil: variable might be clobbered by longjmp

Added by Toomas Soome about 2 years ago. Updated about 2 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
lib - userland libraries
Start date:
2017-07-04
Due date:
% Done:

100%

Estimated time:
Difficulty:
Medium
Tags:

Description

Build error from gcc 6:

../common/ipsec_util.c: In function 'do_interactive':
../common/ipsec_util.c:699:9: error: variable 'hptr' might be clobbered by 'longjmp' or 'vfork' [-Werror=clobbered]
  char  *hptr, **thisargv, *ebuf;
         ^~~~
../common/ipsec_util.c:701:12: error: variable 'continue_in_progress' might be clobbered by 'longjmp' or 'vfork' [-Werror=clobbered]
  boolean_t continue_in_progress = B_FALSE;
            ^~~~~~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors

History

#1

Updated by Electric Monk about 2 years ago

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

git commit 80ad54c9895f9953b06c6f78e52ecf6493aa21d6

commit  80ad54c9895f9953b06c6f78e52ecf6493aa21d6
Author: Toomas Soome <tsoome@me.com>
Date:   2017-07-05T18:27:47.000Z

    8456 libipsecutil: variable might be clobbered by longjmp
    Reviewed by: Gary Mills <gary_mills@fastmail.fm>
    Reviewed by: Igor Kozhukhov <igor@dilos.org>
    Approved by: Dan McDonald <danmcd@joyent.com>

Also available in: Atom PDF