Revision 827108d08070c7515c14eb47e5fa03f59cfe38cf authored by Bradley Pankow on 23 February 2016, 01:11:47 UTC, committed by Alex Deucher on 24 February 2016, 17:46:05 UTC
The event_data passed from pem_fini was not cleared upon initialization. This caused NULL checks to pass and cast_const_phw_tonga_power_state to attempt to dereference an invalid pointer. Clear the event_data in pem_init and pem_fini before calling pem_handle_event. Reviewed-by: Rex Zhu <Rex.Zhu@amd.com> Signed-off-by: Bradley Pankow <btpankow@gmail.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
1 parent 39d4275
File | Mode | Size |
---|---|---|
Kconfig | -rw-r--r-- | 1.7 KB |
Makefile | -rw-r--r-- | 220 bytes |
balloc.c | -rw-r--r-- | 27.1 KB |
cylinder.c | -rw-r--r-- | 5.7 KB |
dir.c | -rw-r--r-- | 16.0 KB |
file.c | -rw-r--r-- | 962 bytes |
ialloc.c | -rw-r--r-- | 9.2 KB |
inode.c | -rw-r--r-- | 32.6 KB |
namei.c | -rw-r--r-- | 7.2 KB |
super.c | -rw-r--r-- | 43.2 KB |
swab.h | -rw-r--r-- | 2.5 KB |
ufs.h | -rw-r--r-- | 5.0 KB |
ufs_fs.h | -rw-r--r-- | 34.6 KB |
util.c | -rw-r--r-- | 6.0 KB |
util.h | -rw-r--r-- | 16.4 KB |
Computing file changes ...