Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
M
MariaDB
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nexedi
MariaDB
Commits
e7fda5db
Commit
e7fda5db
authored
Aug 19, 2019
by
Marko Mäkelä
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
MDEV-20377: Fix uninitialized memory in mysqltest
parent
dc91372d
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
1 deletion
+4
-1
client/mysqltest.cc
client/mysqltest.cc
+2
-1
mysql-test/lib/My/SafeProcess/safe_process.cc
mysql-test/lib/My/SafeProcess/safe_process.cc
+2
-0
No files found.
client/mysqltest.cc
View file @
e7fda5db
/* Copyright (c) 2000, 2013, Oracle and/or its affiliates.
/* Copyright (c) 2000, 2013, Oracle and/or its affiliates.
Copyright (c) 2009, 201
7
, MariaDB
Copyright (c) 2009, 201
9
, MariaDB
This program is free software; you can redistribute it and/or modify
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
it under the terms of the GNU General Public License as published by
...
@@ -1693,6 +1693,7 @@ void abort_not_supported_test(const char *fmt, ...)
...
@@ -1693,6 +1693,7 @@ void abort_not_supported_test(const char *fmt, ...)
cur_file
->
file_name
,
cur_file
->
lineno
);
cur_file
->
file_name
,
cur_file
->
lineno
);
char
buff
[
DIE_BUFF_SIZE
];
char
buff
[
DIE_BUFF_SIZE
];
buff
[
0
]
=
'\0'
;
print_file_stack
(
buff
,
buff
+
sizeof
(
buff
));
print_file_stack
(
buff
,
buff
+
sizeof
(
buff
));
fprintf
(
stderr
,
"%s"
,
buff
);
fprintf
(
stderr
,
"%s"
,
buff
);
...
...
mysql-test/lib/My/SafeProcess/safe_process.cc
View file @
e7fda5db
/* Copyright (c) 2008, 2012, Oracle and/or its affiliates
/* Copyright (c) 2008, 2012, Oracle and/or its affiliates
Copyright (c) 2019, MariaDB Corporation.
This program is free software; you can redistribute it and/or modify
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
it under the terms of the GNU General Public License as published by
...
@@ -169,6 +170,7 @@ int main(int argc, char* const argv[] )
...
@@ -169,6 +170,7 @@ int main(int argc, char* const argv[] )
sigemptyset
(
&
sa
.
sa_mask
);
sigemptyset
(
&
sa
.
sa_mask
);
sa_abort
.
sa_handler
=
handle_abort
;
sa_abort
.
sa_handler
=
handle_abort
;
sa_abort
.
sa_flags
=
0
;
sigemptyset
(
&
sa_abort
.
sa_mask
);
sigemptyset
(
&
sa_abort
.
sa_mask
);
/* Install signal handlers */
/* Install signal handlers */
sigaction
(
SIGTERM
,
&
sa
,
NULL
);
sigaction
(
SIGTERM
,
&
sa
,
NULL
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment