khalilj / sarasvati

Automatically exported from code.google.com/p/sarasvati
0 stars 0 forks source link

Unlimited size cache in MemGraphRepository may produce a buffer overflow #65

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Using a static instance of cache into MemGraphRepository may produce a buffer 
overflow: it might be better to limit the cache size and remove the oldest 
MemGraph or find another more suitable mechanism.

Original issue reported on code.google.com by blass.ju...@gmail.com on 8 Oct 2010 at 9:29

GoogleCodeExporter commented 8 years ago
I've committed a change that allows a per-engine cache. Let me know if that 
will work for you.

http://code.google.com/p/sarasvati/source/detail?r=1178

Original comment by plor...@gmail.com on 8 Oct 2010 at 8:17

GoogleCodeExporter commented 8 years ago
I also added a constructor where you can pass in your own MemGraphRepository.

Original comment by plor...@gmail.com on 13 Oct 2010 at 3:33

GoogleCodeExporter commented 8 years ago
1.0.4 was released quite a while ago. Marking bugs released.

Original comment by plor...@gmail.com on 18 Oct 2012 at 1:34

GoogleCodeExporter commented 8 years ago

Original comment by plor...@gmail.com on 18 Oct 2012 at 1:35