Actions
Bug #8456
closedlibipsecutil: variable might be clobbered by longjmp
Start date:
2017-07-04
Due date:
% Done:
100%
Estimated time:
Difficulty:
Medium
Tags:
Gerrit CR:
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
Updated by Electric Monk about 5 years ago
- Status changed from In Progress to Closed
- % Done changed from 90 to 100
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>
Actions