commit | f7a5612ba28d0a2c2301b995d2dc561c911c4157 | [log] [tgz] |
---|---|---|
author | Jukka Rissanen <jukka.rissanen@linux.intel.com> | Tue Mar 14 14:15:02 2017 +0200 |
committer | Jukka Rissanen <jukka.rissanen@linux.intel.com> | Fri Mar 17 10:34:44 2017 +0200 |
tree | a903e7980e2ce97024de1c564f1b4ecd213185f1 | |
parent | 82545373eeb66ec525c7b710e20d60c22973f2f4 [diff] |
drivers: slip: Fix memory corruption when receiving packet It is possible that the slip->last pointer is not set during the startup of the slip driver if we receive some garbage bytes. This in turn caused memory to be overwritten in random places. Jira: ZEP-1737 Change-Id: Ia2ce193b81a8f707b7ca63497d497ea70699bb32 Signed-off-by: Jukka Rissanen <jukka.rissanen@linux.intel.com>