Skip to content
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

Large cached dataset causes segfault #1

Open
winamp opened this issue Oct 12, 2011 · 1 comment
Open

Large cached dataset causes segfault #1

winamp opened this issue Oct 12, 2011 · 1 comment

Comments

@winamp
Copy link

winamp commented Oct 12, 2011

Hi!

I have found an issue when getting a large dataset from memcached.
During debug it shows:

2011-10-12 17:40:26 DEBUG: pid 20632: pqc_get_cache: Query=SELECT oid FROM favorites WHERE uid=2 AND type='post' OR type='comment'
2011-10-12 17:40:26 DEBUG: pid 20632: dump_cache_data: len = 4469040

<dump_cache_data suppressed>

2011-10-12 17:40:26 DEBUG: pid 20599: reap_handler called
2011-10-12 17:40:26 DEBUG: pid 20599: child 20632 exits with status 11 by signal 11

I think the problem is in pqc_get_cache function. It returns a result into a 'buf' without checking its size. I'm not good at C to try to fix it

@RockyRx
Copy link

RockyRx commented Nov 18, 2015

@winamp Hi, have you find a solution for this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants