BIND 10 trac2946, created. 935c7cc4033d440f270cb2d62114024e3578a4d3 [2946] pass shared_ptr, not a reference to deadline pointer.

BIND 10 source code commits bind10-changes at lists.isc.org
Thu May 16 00:22:00 UTC 2013


The branch, trac2946 has been created
        at  935c7cc4033d440f270cb2d62114024e3578a4d3 (commit)

- Log -----------------------------------------------------------------
commit 935c7cc4033d440f270cb2d62114024e3578a4d3
Author: JINMEI Tatuya <jinmei at isc.org>
Date:   Wed May 15 17:09:25 2013 -0700

    [2946] pass shared_ptr, not a reference to deadline pointer.
    
    I suspect the previous version could cause the same type of use-after-free
    bug, although I couldn't come up with an effective test scenario.

commit d83205544b88dc4a9c5584212034c03a4f9e32fc
Author: JINMEI Tatuya <jinmei at isc.org>
Date:   Wed May 15 17:03:49 2013 -0700

    [2946] documentation update

commit 98a1e1dd654b98ccd453f38618f1ee0ca0c33a2a
Author: JINMEI Tatuya <jinmei at isc.org>
Date:   Wed May 15 16:57:07 2013 -0700

    [2946] mix enable_shared_from_this in SyncUDPServer to prevent use-after-free.
    
    to enforce this style of creation, introduce a static factory method and
    hide the constructor as private.

commit 1438cd564759a281add9fa7c8ed04280848f6ad4
Author: JINMEI Tatuya <jinmei at isc.org>
Date:   Wed May 15 16:42:08 2013 -0700

    [2946] added a test case to reproduce the use-after-free situation

commit 7f652b9b12ac550b784db4fd52df91f672ab4d94
Author: JINMEI Tatuya <jinmei at isc.org>
Date:   Wed May 15 12:00:20 2013 -0700

    [2946] use shared_ptr of DNSServer objects for tests

-----------------------------------------------------------------------



More information about the bind10-changes mailing list