diff options
author | Sanjeev Chugh <sanjeev_chugh@mentor.com> | 2018-12-28 17:04:31 -0800 |
---|---|---|
committer | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2018-12-28 17:07:05 -0800 |
commit | 1e3c336ad8f40f88a8961c434640920fe35cc08b (patch) | |
tree | cfeb28c9b477656bc442ece9999b337f03502426 /.get_maintainer.ignore | |
parent | d52266fc74beacf2aefad934bd4011d62e9584e0 (diff) | |
download | linux-1e3c336ad8f40f88a8961c434640920fe35cc08b.tar.bz2 |
Input: atmel_mxt_ts - don't try to free unallocated kernel memory
If the user attempts to update Atmel device with an invalid configuration
cfg file, error handling code is trying to free cfg file memory which is
not allocated yet hence results into kernel crash.
This patch fixes the order of memory free operations.
Signed-off-by: Sanjeev Chugh <sanjeev_chugh@mentor.com>
Fixes: a4891f105837 ("Input: atmel_mxt_ts - zero terminate config firmware file")
Cc: stable@vger.kernel.org
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Diffstat (limited to '.get_maintainer.ignore')
0 files changed, 0 insertions, 0 deletions