The engine initialization, ibmca_init() function, can be called more than
once causing the code to jump to a exit label where all internal function
pointers are set to NULL, which can cause a SIGSEGV.
This patch guarantees that the internal pointers will be set only once, by
exiting the ibmca_init() if already executed.
The engine initialization, ibmca_init() function, can be called more than once causing the code to jump to a exit label where all internal function pointers are set to NULL, which can cause a SIGSEGV.
This patch guarantees that the internal pointers will be set only once, by exiting the ibmca_init() if already executed.
This patch fixes Ubuntu's LP#1443455
Signed-off-by: Harald Freudenberger freude@linux.vnet.ibm.com Signed-off-by: Paulo Vital pvital@linux.vnet.ibm.com