[erlang-patches] FIX: segmentation fault in memsup

Henrik Nord <>
Tue Nov 15 11:34:04 CET 2011


On 11/12/2011 01:28 PM, Anton Vorobev wrote:
> 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 
> <http://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
>
>
>
>
> _______________________________________________
> erlang-patches mailing list
> 
> http://erlang.org/mailman/listinfo/erlang-patches
Thank you for the contribution, your branch is included in 'pu'

I rewrote your commits msg. If you want to do it in another way, I can 
refetch the branch after you have changed it to your liking.



-- 
/Henrik Nord Erlang/OTP

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-patches/attachments/20111115/001932cc/attachment.html>


More information about the erlang-patches mailing list