We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 74726fd commit ca2b746Copy full SHA for ca2b746
arch/powerpc/platforms/pseries/plpks.c
@@ -150,7 +150,7 @@ static int plpks_gen_password(void)
150
ospasswordlength = maxpwsize;
151
ospassword = kzalloc(maxpwsize, GFP_KERNEL);
152
if (!ospassword) {
153
- kfree(password);
+ kfree_sensitive(password);
154
return -ENOMEM;
155
}
156
memcpy(ospassword, password, ospasswordlength);
@@ -163,7 +163,7 @@ static int plpks_gen_password(void)
163
164
165
out:
166
167
168
return pseries_status_to_err(rc);
169
0 commit comments