[erlang-patches] FIX: segmentation fault in memsup

Anton Vorobev anton.vorobev@REDACTED
Sat Nov 12 13:28:51 CET 2011


Hi.

I've got a problem with memsup inside an OpenVZ virtual container on Debian
Linux.
The point is that /proc/meminfo inside container does not include sections
for buffers and/or caches (depends on version), and memsup does not have a
control for NULL pointer before sscanf().


So, I propose the following patch which fixes the problem:


git fetch git://github.com/vorobev/otp.git maint-memsup

diff view and path:
https://github.com/vorobev/otp/compare/maint-memsup
https://github.com/vorobev/otp/compare/maint-memsup.patch

Regards,
Anton
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-patches/attachments/20111112/596c165e/attachment.htm>


More information about the erlang-patches mailing list