-
Notifications
You must be signed in to change notification settings - Fork 1.6k
SecHashEngine Doesn't work with newer version of libxml2 #1072
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Looks like the break happened with 2.9.0 |
libxml2-2.9.0-rc0 does not work - so 2.8.0 is the last known working version |
Check at msc_crypt.c:1081returns true when it shouldn't - and we return. |
In functional version we skip #ifdef LIBXML2_NEW_BUFFER #define LIBXML2_NEW_BUFFER |
xmlOutputBufferGetSize(output_buf) is returning 0 |
It appears xmlOutputBufferGetSize cannot be called on an output_buf after it has been flushed with xmlOutputBufferFlush(output_buf); |
Seems like this originated here -> https://mail.gnome.org/archives/xml/2013-June/msg00006.html |
Good writeup. Thanks. |
OK, tried to work around this, but no avail. Actually libxml2 and modsec rule version overlap and I am not totally sure which product is being described at every occurrence. Here is what I did.
So I am a bit at loss here. What did I get wrong? |
Can't reproduce this issue with the current codebase of v2. I believe commit a249574 should have fixed this already. Thanks. |
When using libxml2-2.9.3-1 SecHashingEngine didn't function properly
When using libxml2-2.7.6 SecHashingEngine works properly.
The exploration continues.
The text was updated successfully, but these errors were encountered: