Reported-By: gcc -fsanitize=address -fno-sanitize=vptr
Git-Dch: Ignore
// to do anything at all
for (DepIterator Cur = Start; true; ++Cur)
{
// to do anything at all
for (DepIterator Cur = Start; true; ++Cur)
{
- std::unique_ptr<Version *> VList(Cur.AllTargets());
+ std::unique_ptr<Version *[]> VList(Cur.AllTargets());
for (Version **I = VList.get(); *I != 0; ++I)
{
for (Version **I = VList.get(); *I != 0; ++I)
{
// probably due to loops.
for (DepIterator Cur = Start; true; ++Cur)
{
// probably due to loops.
for (DepIterator Cur = Start; true; ++Cur)
{
- std::unique_ptr<Version *> VList(Cur.AllTargets());
+ std::unique_ptr<Version *[]> VList(Cur.AllTargets());
for (Version **I = VList.get(); *I != 0; ++I)
{
for (Version **I = VList.get(); *I != 0; ++I)
{
// Search for dependencies which are unpacked but aren't configured yet (maybe loops)
for (DepIterator Cur = Start; true; ++Cur)
{
// Search for dependencies which are unpacked but aren't configured yet (maybe loops)
for (DepIterator Cur = Start; true; ++Cur)
{
- std::unique_ptr<Version *> VList(Cur.AllTargets());
+ std::unique_ptr<Version *[]> VList(Cur.AllTargets());
for (Version **I = VList.get(); *I != 0; ++I)
{
for (Version **I = VList.get(); *I != 0; ++I)
{
// Look for easy targets: packages that are already okay
for (DepIterator Cur = Start; Bad == true; ++Cur)
{
// Look for easy targets: packages that are already okay
for (DepIterator Cur = Start; Bad == true; ++Cur)
{
- std::unique_ptr<Version *> VList(Cur.AllTargets());
+ std::unique_ptr<Version *[]> VList(Cur.AllTargets());
for (Version **I = VList.get(); *I != 0; ++I)
{
VerIterator Ver(Cache,*I);
for (Version **I = VList.get(); *I != 0; ++I)
{
VerIterator Ver(Cache,*I);