- 16 May, 2013 5 commits
-
-
JINMEI Tatuya authored
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.
-
JINMEI Tatuya authored
-
JINMEI Tatuya authored
to enforce this style of creation, introduce a static factory method and hide the constructor as private.
-
JINMEI Tatuya authored
-
JINMEI Tatuya authored
-
- 15 May, 2013 4 commits
-
-
JINMEI Tatuya authored
-
JINMEI Tatuya authored
-
Mukund Sivaraman authored
-
Mukund Sivaraman authored
-
- 14 May, 2013 5 commits
-
-
Thomas Markwalder authored
-
JINMEI Tatuya authored
-
JINMEI Tatuya authored
-
Mukund Sivaraman authored
-
JINMEI Tatuya authored
-
- 13 May, 2013 7 commits
-
-
Thomas Markwalder authored
-
Mukund Sivaraman authored
-
Stephen Morris authored
-
Mukund Sivaraman authored
... now that we handle this with an offset_ptr inside setNamedAddress() itself.
-
Mukund Sivaraman authored
-
Mukund Sivaraman authored
-
Mukund Sivaraman authored
This commit introduces a problem that allMemoryDeallocated() doesn't work anymore, because the reserved memory is freed only when the segment is destroyed. One workaround is to temporarily release and re-reserve this memory in allMemoryDeallocated(), but that would make it a non-const method. I don't see any other clean way of doing this.
-
- 10 May, 2013 11 commits
-
-
Jeremy C. Reed authored
-
Mukund Sivaraman authored
We don't attempt to recover in this case. Also change some error handling to simply asserts.
-
Mukund Sivaraman authored
-
Mukund Sivaraman authored
-
Mukund Sivaraman authored
-
Mukund Sivaraman authored
-
Mukund Sivaraman authored
-
Mukund Sivaraman authored
-
Mukund Sivaraman authored
-
Mukund Sivaraman authored
Initially I thought it was not possible to test this as ZoneTableSegment::create() was used to create the zone table segment, but it seems it's possible to do it this way using a mock class.
-
Mukund Sivaraman authored
-
- 09 May, 2013 8 commits
-
-
JINMEI Tatuya authored
-
JINMEI Tatuya authored
-
JINMEI Tatuya authored
seems to be necessary for some OS. also explicitly include the relevant header file.
-
JINMEI Tatuya authored
-
Tomek Mrugalski authored
Conflicts: src/lib/dhcp/tests/pkt6_unittest.cc
-
-
Tomek Mrugalski authored
-
Mukund Sivaraman authored
It would be better if these were static (to save on space and also to use them inside ZoneTableSegment::create()), but unfortunately we cannot make it virtual then. Another option would be to pass a static string from ZoneTableSegment::create() onto the ZoneTableSegment constructor and make it a non-virtual base class method.
-