- Avoid null-pointer exceptions by testing listnodes validity before doing
commit044d251980da4f365047176529eeb93db3e5dd59
authorJames Hatheway <james@macadamian.com>
Wed, 9 Aug 2000 22:24:04 +0000 (9 22:24 +0000)
committerAlexandre Julliard <julliard@winehq.org>
Wed, 9 Aug 2000 22:24:04 +0000 (9 22:24 +0000)
tree3278520898fd6c0ae293e2d410eed994f247a63b
parent8b5b0076a14b02c153dd4432320d5bb71f6e436d
- Avoid null-pointer exceptions by testing listnodes validity before doing
  any work with those.
- TLB_ReadTypeLib now retrieves the length of the TLB and passes it to
  the TLB constructor which initializes TLBContext::length to that
  value.
- For non-standard pointed types, td[3] is always 0. I observed that
  the type is stored at td[2]/8 and not td[3]/8.
- Null-pointer exception occurs when GetRefTypeOfImplType is called on a
  type with no inherited interfaces. If the implemented types linked list
  is empty, set pRefType as 0 and return S_OK.
dlls/oleaut32/typelib.c