[PATCH 3.13.y-ckt 86/86] TPM: Avoid reference to potentially freed memory

2015-12-02 Thread Kamal Mostafa
3.13.11-ckt31 -stable review patch. If anyone has any objections, please let me know. -- From: Christophe JAILLET commit eb8ed1eb9a158c460d10205eaff71fd4ac67c160 upstream. Reference to the 'np' node is dropped before dereferencing the 'sizep' and 'basep' pointers, which

[PATCH 3.13.y-ckt 86/86] TPM: Avoid reference to potentially freed memory

2015-12-02 Thread Kamal Mostafa
3.13.11-ckt31 -stable review patch. If anyone has any objections, please let me know. -- From: Christophe JAILLET commit eb8ed1eb9a158c460d10205eaff71fd4ac67c160 upstream. Reference to the 'np' node is dropped before dereferencing the 'sizep'