commit | 641c7925b6ec78466358b654c731050b4179e5f4 | [log] [tgz] |
---|---|---|
author | Richard Weinberger <richard@nod.at> | Mon Jun 01 23:10:50 2015 +0200 |
committer | Brian Norris <computersforpeace@gmail.com> | Tue Jun 16 18:58:47 2015 -0700 |
tree | c4a929dfeab7dfc1e063e94f97856bed2c5f8431 | |
parent | bc349da0a6b3c6cf795b6a51e3f448d9d16a1686 [diff] |
mtd: nandsim: Fix kasprintf() usage kasprintf() used in get_partition_name() does a dynamic memory allocation and can fail. We have to handle that case. Signed-off-by: Richard Weinberger <richard@nod.at> Signed-off-by: Brian Norris <computersforpeace@gmail.com>