Test-tools
August 16th, 2007, 09:34 AM
Hello alltogether,
the underlying problem seams to me an API misuse, calling rotateInitiate with 2nd parameter action=NULL.
Now, plugins/rotate.c at line 614f cs->rotationState is set based on wether action is NULL or not.
Then under the situation that rs->grabIndex is !=NULL (can this happen at this
point?) it would probably dereference action at line 642 or 625 (Depending on some bits in variable state.
Have reviewed other *Initiate() stuff with similiar API, I think the 2nd parameter should never be called with NULL.
Roland
the underlying problem seams to me an API misuse, calling rotateInitiate with 2nd parameter action=NULL.
Now, plugins/rotate.c at line 614f cs->rotationState is set based on wether action is NULL or not.
Then under the situation that rs->grabIndex is !=NULL (can this happen at this
point?) it would probably dereference action at line 642 or 625 (Depending on some bits in variable state.
Have reviewed other *Initiate() stuff with similiar API, I think the 2nd parameter should never be called with NULL.
Roland