I get segfault in libgst/oop.c:740 in 64-bit mode.

problem seems to originate here (line 735):
int size = SIZE_TO_BYTES (TO_INT(oop->object->objSize));

looks like TO_INT() macro does something wrong and size is assigned to 
incorrectly large number…


related definitions:

  objSize is defined as OOP

  typedef struct oop_s *OOP;

  struct oop_s
  {
    gst_object object;
    unsigned long flags;                /* FIXME, use uintptr_t */
  };

  #define TO_INT(oop) \
    ((intptr_t)(oop) >> 1)


do I correctly understand, that the problem is related to that "FIXME"?

_______________________________________________
help-smalltalk mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/help-smalltalk

Reply via email to