Nmap Development mailing list archives
Re: [NSE] rpc.lua Portmapper list cached in the NSE registry
From: Djalal Harouni <tixxdz () gmail com>
Date: Tue, 18 May 2010 02:15:57 +0100
On 2010-05-16 20:29:57 +0200, Patrik Karlsson wrote:
On 16 maj 2010, at 00.01, Patrick Donnelly wrote:On Sat, May 15, 2010 at 5:47 AM, Djalal Harouni <tixxdz () gmail com> wrote:On 2010-05-15 02:34:42 -0600, Patrick Donnelly wrote:So, the number and string keys are considered strong references in a weak keyed table even when the string "a" is collectible.Yes this is correct but when we use weak values like: [...] then all the pairs are collected, even number and string keys. The Pil doc doesn't tell us much about weak values. I have played with weak tables and I have noticed this behavior, I'm using Lua 5.1.4 and I hope that this is not a bug or something else!! Pls Patrick correct me if I'm wrong.No, you're code is right. Sorry I forgot you were using a weak valued table with all the weak keyed table discussion!Thanks for clearing that up.
I've commited this patch as r17597
-- - Patrick Donnelly _______________________________________________ Sent through the nmap-dev mailing list http://cgi.insecure.org/mailman/listinfo/nmap-dev Archived at http://seclists.org/nmap-dev///Patrik -- Patrik Karlsson http://www.cqure.net http://www.twitter.com/nevdull77 _______________________________________________ Sent through the nmap-dev mailing list http://cgi.insecure.org/mailman/listinfo/nmap-dev Archived at http://seclists.org/nmap-dev/
-- tixxdz _______________________________________________ Sent through the nmap-dev mailing list http://cgi.insecure.org/mailman/listinfo/nmap-dev Archived at http://seclists.org/nmap-dev/
Current thread:
- Re: [NSE] rpc library; Portmapper program list stored in the, (continued)
- Re: [NSE] rpc library; Portmapper program list stored in the David Fifield (May 04)
- Re: [NSE] rpc library; Portmapper program list stored in the Djalal Harouni (May 04)
- Re: [NSE] rpc library; Portmapper program list stored in the David Fifield (May 04)
- Re: [NSE] rpc library; Portmapper program list stored in the Djalal Harouni (May 04)
- Re: [NSE] rpc library; Portmapper program list stored in the David Fifield (May 04)
- Re: [NSE] rpc.lua Portmapper list cached in the NSE registry Djalal Harouni (May 14)
- Re: [NSE] rpc.lua Portmapper list cached in the NSE registry Patrik Karlsson (May 15)
- Re: [NSE] rpc.lua Portmapper list cached in the NSE registry Patrick Donnelly (May 15)
- Re: [NSE] rpc.lua Portmapper list cached in the NSE registry Djalal Harouni (May 15)
- Re: [NSE] rpc.lua Portmapper list cached in the NSE registry Patrick Donnelly (May 15)
- Re: [NSE] rpc.lua Portmapper list cached in the NSE registry Patrik Karlsson (May 16)
- Re: [NSE] rpc.lua Portmapper list cached in the NSE registry Djalal Harouni (May 17)
- Re: [NSE] rpc.lua Portmapper list cached in the NSE registry Patrik Karlsson (May 15)