Re: Ebtables: communication.c retrieve_from_file 627 :Out of memory. (patch included)

Bart De Schuymer <[email protected]>
Newsgroups gmane.linux.network.bridge.ebtables.devel
Message-ID <[email protected]>
On Wednesday 27 August 2003 18:06, Vlad Tautu wrote:
> [root@bridge-2 root]# ebtables --atomic-file qwe
> --atomic-init
> [root@bridge-2 root]# ebtables --atomic-file qwe -A
> FORWARD -p 0x806 --arp-ip-src 10.0.0.1 -j ACCEPT
> [root@bridge-2 root]# ebtables --atomic-file qwe -A
> FORWARD -p 0x806 --arp-ip-dst 10.0.0.1 -j ACCEPT
>
> Ebtables: communication.c retrieve_from_file 627 :Out
> of memory.
> Everything works fine with it changed. I am not sure
> if there are memory leaks out of this patch, maybe you
> can tell.

Thanks for the report,

I introduced the bug when making things work for the Sparc64. The good 
solution is just moving the check on the memory allocation one line down.
The fix is in the CVS.

cheers,
Bart



-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.