https://sourceware.org/bugzilla/show_bug.cgi?id=32356

Vladimir Mezentsev <vladimir.mezentsev at oracle dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |WAITING

--- Comment #3 from Vladimir Mezentsev <vladimir.mezentsev at oracle dot com> 
---
These were expected changes.
The argument type was changed in fixes for:
 32096 - UBSAN issues in gprofng

UBSAN reported:
  runtime error: member call on address 0x... which does not point to an object
of type 'Vector'
in case when we allocate one Vector type but use another vector type.
Like this:
  Vector<DbeInstr*>* p = new Vector<DbeInstr*>();
  Vector<Histable*>* p1 = (<Vector<Histable*>*) p;
  p1->get(0);

or this:
  Vector<void*>* p = new Vector<void*>();
  Vector<Histable*>* p1 = (<Vector<Histable*>*) p;
  p1->get(0);


I suggest to close this bug as RESOLVED/NOTABUG.

-- 
You are receiving this mail because:
You are on the CC list for the bug.

Reply via email to