-
Notifications
You must be signed in to change notification settings - Fork 12
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
Throws bad_alloc #21
Comments
First test says https://github.com/apertium/apertium-lex-tools/blob/master/lrx_processor.cc#L835 grows infinitely. Could be any of the appends to that string, not necessarily that exact line. |
This happens all the way back to 4fe00c6 from 2018-08-06 - can't easily test before that because lttoolbox was also changed. |
In the old versions the same append is reported ( apertium-lex-tools/lrx_processor.cc Line 837 in 4fe00c6
|
Does that while loop need to check for WEOF? |
…ng, but WEOF doesn't work here due to sign difference (fixes #21)
…ng, but WEOF doesn't work here due to sign difference (fixes apertium#21)
With 4165215,
curl -Ss https://termbin.com/4q1i |lrx-comp - /tmp/fra.bin
runs and yields 991 bytes. On 32 bit it yields 975 bytes.curl -Ss https://termbin.com/cwbf |lrx-proc -m -t /tmp/fra.bin
dies with bad_alloc on both 32 and 64 bit.Which exact commit caused it I haven't tested yet.
The text was updated successfully, but these errors were encountered: