diff options
| author | Nikola Pajkovsky <npajkovs@redhat.com> | 2011-01-31 09:55:20 +0100 |
|---|---|---|
| committer | Nikola Pajkovsky <npajkovs@redhat.com> | 2011-02-01 12:20:11 +0100 |
| commit | 63a7bca1faf63c4abc075a2fc293dd58f0760a62 (patch) | |
| tree | c885ab8cb3fe0a164b20196acb3f55967176d0fa /src/cli/CLI.cpp | |
| parent | c70fa17930b0150e5c49224c292da0508429a8eb (diff) | |
| download | abrt-63a7bca1faf63c4abc075a2fc293dd58f0760a62.tar.gz abrt-63a7bca1faf63c4abc075a2fc293dd58f0760a62.tar.xz abrt-63a7bca1faf63c4abc075a2fc293dd58f0760a62.zip | |
rhtsupport reads from uninitialized variable
abrt-action-rhtsupport.c: In function ‘main’:
abrt-action-rhtsupport.c:231:12: warning: ‘child’ may be used uninitialized in this function [-Wuninitialized]
abrt-action-rhtsupport.c:45:11: note: ‘child’ was declared here
...
...
pid_t child;
...
...
if (!login[0] || !password[0])
{
errmsg = _("Empty login or password, please check RHTSupport.conf");
goto ret;
}
...
...
ret:
// Damn, selinux does not allow SIGKILLing our own child! wtf??
//kill(child, SIGKILL); /* just in case */
waitpid(child, NULL, 0);
...
...
Signed-off-by: Nikola Pajkovsky <npajkovs@redhat.com>
Diffstat (limited to 'src/cli/CLI.cpp')
0 files changed, 0 insertions, 0 deletions
