-Piece of fix for bug 1965012, server process dying when malformed request passed to table layer
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@1426 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
parent
5075adf269
commit
f69c35b21d
@ -1498,6 +1498,9 @@ sub getAttribs
|
||||
}
|
||||
$statement .= "(\"disable\" is NULL or \"disable\" in ('0','no','NO','No','nO'))";
|
||||
my $query = $self->{dbh}->prepare($statement);
|
||||
unless (defined $query) {
|
||||
return undef;
|
||||
}
|
||||
$query->execute(@exeargs);
|
||||
my $data;
|
||||
while ($data = $query->fetchrow_hashref())
|
||||
|
Loading…
Reference in New Issue
Block a user