Merge remote-tracking branch 'origin/pr/47'
* origin/pr/47: Fix GCC8 warning tracis-ci: add support for fc29 dom0
This commit is contained in:
commit
07c286fad5
@ -5,3 +5,4 @@ install: git clone https://github.com/QubesOS/qubes-builder ~/qubes-builder
|
||||
script: ~/qubes-builder/scripts/travis-build
|
||||
env:
|
||||
- DIST_DOM0=fc25 USE_QUBES_REPO_VERSION=4.0 USE_QUBES_REPO_TESTING=1
|
||||
- DIST_DOM0=fc29 USE_QUBES_REPO_VERSION=4.0 USE_QUBES_REPO_TESTING=1
|
||||
|
@ -253,7 +253,8 @@ static void send_service_connect(int s, char *conn_ident,
|
||||
|
||||
exec_params.connect_domain = connect_domain;
|
||||
exec_params.connect_port = connect_port;
|
||||
strncpy(srv_params.ident, conn_ident, sizeof(srv_params.ident));
|
||||
strncpy(srv_params.ident, conn_ident, sizeof(srv_params.ident) - 1);
|
||||
srv_params.ident[sizeof(srv_params.ident) - 1] = '\0';
|
||||
|
||||
if (!write_all(s, &hdr, sizeof(hdr))
|
||||
|| !write_all(s, &exec_params, sizeof(exec_params))
|
||||
@ -722,7 +723,8 @@ int main(int argc, char **argv)
|
||||
if (strcmp(domname, "dom0") == 0) {
|
||||
if (connect_existing) {
|
||||
msg_type = MSG_SERVICE_CONNECT;
|
||||
strncpy(svc_params.ident, request_id, sizeof(svc_params.ident));
|
||||
strncpy(svc_params.ident, request_id, sizeof(svc_params.ident) - 1);
|
||||
svc_params.ident[sizeof(svc_params.ident) - 1] = '\0';
|
||||
} else if (just_exec)
|
||||
msg_type = MSG_JUST_EXEC;
|
||||
else
|
||||
|
Loading…
Reference in New Issue
Block a user