Comments (4)
Yes, #399 will fix it. I have not seen here any reference to it.
from gvmd.
Thanks, the patch will fix the first error.
But the second will occurs again.
cd /builddir/build/BUILD/gvmd-8.0-beta3/src && /usr/lib64/ccache/cc -DCACERT="/var/lib/greenbone/CA/cacert.pem" -DCA_DIR="/var/lib/greenbone/gvmd/trusted_certs" -DCLIENTCERT="/var/lib/greenbone/CA/clientcert.pem" -DCLIENTKEY="/var/lib/greenbone/private/CA/clientkey.pem" -DGMP_VERSION="8.0" -DGVMD_CERT_DATABASE_VERSION=6 -DGVMD_DATABASE_VERSION=205 -DGVMD_DATA_DIR="/usr/share/gvm/gvmd" -DGVMD_SCAP_DATABASE_VERSION=15 -DGVMD_STATE_DIR="/var/lib/greenbone/gvmd" -DGVMD_VERSION="8.0+beta4" -DGVM_CERT_DATA_DIR="/var/lib/greenbone/cert-data" -DGVM_CERT_RES_DIR="/usr/share/gvm/cert" -DGVM_DATA_DIR="/usr/share/gvm" -DGVM_LIB_INSTALL_DIR="/usr/lib64/gvmd" -DGVM_LOG_DIR="/var/log/greenbone/gvmd" -DGVM_NVT_DIR="/usr/var/lib/openvas/plugins/" -DGVM_OS_NAME="Linux-3.10.0-957.5.1.el7.x86_64" -DGVM_RUN_DIR="/run/greenbone" -DGVM_SCAP_DATA_DIR="/var/lib/greenbone/scap-data" -DGVM_SCAP_RES_DIR="/usr/share/gvm/scap" -DGVM_SQLITE_SLEEP_MAX=0 -DGVM_STATE_DIR="/var/lib/greenbone" -DGVM_SYSCONF_DIR="/etc/gvm" -DPREFIX="/usr" -DSBINDIR="/usr/sbin" -DSCANNERCERT="/var/lib/greenbone/CA/servercert.pem" -DSCANNERKEY="/var/lib/greenbone/private/CA/serverkey.pem" -I/usr/include/gvm -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/gvm-helper -I/usr/include/uuid -I/usr/include/p11-kit-1 -I/usr/pgsql-11/include/server -I/usr/pgsql-11/include -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -Wall -D_BSD_SOURCE -D_ISOC99_SOURCE -D_SVID_SOURCE -D_DEFAULT_SOURCE -D_FILE_OFFSET_BITS=64 -g -Werror -Wshadow -Wredundant-decls -o CMakeFiles/gvmd-pg.dir/gmp_tickets.c.o -c /builddir/build/BUILD/gvmd-8.0-beta3/src/gmp_tickets.c
/builddir/build/BUILD/gvmd-8.0-beta3/src/manage_sql.c: In function 'escalate_2':
/builddir/build/BUILD/gvmd-8.0-beta3/src/manage_sql.c:12810:24: error: 'filter' may be used uninitialized in this function [-Werror=maybe-uninitialized]
body = alert_message_print (message, event, event_data,
^
cc1: all warnings being treated as errors
make[2]: *** [src/CMakeFiles/gvmd-pg.dir/manage_sql.c.o] Error 1
make[2]: Leaving directory/builddir/build/BUILD/gvmd-8.0-beta3' make[1]: *** [src/CMakeFiles/gvmd-pg.dir/all] Error 2 make[1]: Leaving directory
/builddir/build/BUILD/gvmd-8.0-beta3'
make: *** [all] Error 2
from gvmd.
As I understand the code, the function alert_message_print itself will check the state of the filter variable.
from gvmd.
Didn't see the second one. Does #399 solve it for you?
from gvmd.
Related Issues (20)
- Scans interrupted at high percentage
- Failed to parse client XML: Command Unavailable - incorrect log level INFO HOT 2
- schedules - date/time problems HOT 4
- Scans with custom nth day of month schedule fail at 0% when manually started HOT 4
- Stale global_current_report causes subsequent gvmd requests to fail HOT 2
- gvmd failed to save scan results in the new DB versions from 252 HOT 1
- Upgrader la version de gvm de 22.4.0 à 22.4.1 HOT 1
- sql_exec_internal failed in check_osp_result_exists() HOT 2
- gvmd fail to compile HOT 5
- gvmd@gvmd FATAL: remaining connection slots are reserved for non-replication superuser connections HOT 19
- Scan exits after one second and no result ouput HOT 2
- Support passing max-email-attachment-size parameter through docker-compose.yml file
- gvmd --delete-scanner does not remove tasks.
- CPE with wildcard not being matched HOT 1
- CentOS creates 0-byte PDF report HOT 3
- Email Alert message with `attach report` option does not allow use of $i for full report text HOT 1
- Get Errors when try to 'make' HOT 5
- gvmd randomly segfaults when viewing e.g. scan results hosts tab in gsa
- Http Alerts don't work HOT 2
- Gvmd creates a pidfile not owned by root
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from gvmd.