GithubHelp home page GithubHelp logo

Comments (4)

bazsi avatar bazsi commented on July 20, 2024

If the log-msg-size() is otherwise set to a larger value (or unset in which case it is 8192 by default), this is probably fixed by this patch (on 3.6, but this was actually backported to earlier versions too):

commit a6958ac
Author: Balazs Scheidler [email protected]
Date: Sat Nov 2 20:19:12 2013 +0100

LogProtoServer: fixed a use-after-free after reload

self->options is a borrowed memory area, managed by the owning driver
that constructed the given LogProtoServer instance. During reload however,
the driver object itself is freed, while the LogProtoServer instance
is kept alive, thereby causing the options pointer to point into the
void.

The solution is to update the options pointer whenever the owner is changed,
chaining into a similar solution in the LogReader code which does exactly
that.

Signed-off-by: Balazs Scheidler <[email protected]>

from syslog-ng.

bazsi avatar bazsi commented on July 20, 2024

closing this as I think this is already fixed.

from syslog-ng.

sb-relaxt-at avatar sb-relaxt-at commented on July 20, 2024

I have been the original reporter at balabit's forum. The issue indeed seems to be solved after upgrading to 3.4.7 (which should include the named fix). Thanks a lot :-)

from syslog-ng.

bazsi avatar bazsi commented on July 20, 2024

Thanks for the feedback. It is rare to get this information but is important to know that things went smoothly.

Thanks again.

from syslog-ng.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.