GNOME Bugzilla – Bug 113318
minor 64-bit cleanliness issue
Last modified: 2009-08-15 18:40:50 UTC
This applies specifically to version 1.0.30. To the best of my knowledge, earlier versions do not have this problem. In libxslt/variables.c, line 904, the code makes the mistake of stuffing a pointer into an int. Aside from the ugly compiler warning, if pointers are are larger than ints (as they are on my EV56), some upper bits of the pointer get lost. In rare circumstances, this could result in the comparison on line 905 generating a false-positive. I'm attaching a patch below that should take care of this problem.
Created attachment 16649 [details] [review] res_ptr 64-bit fix
Okay, exact, I'm suprized I let that go though, the fix is right, applied and commited to CVS, thanks a lot ! Daniel
this should be closed by release of libxslt-1.0.31 thanks, Daniel