[jitsi/libjitsi] 1377e6: another attempt at catching the bad pointer addres...

Paweł Domas pawel.domas at jitsi.org
Wed Feb 22 18:34:47 CET 2017


  Branch: refs/heads/master
  Home:   https://github.com/jitsi/libjitsi
  Commit: 1377e6530787a538e8574aa4903644f52822bdf4
      https://github.com/jitsi/libjitsi/commit/1377e6530787a538e8574aa4903644f52822bdf4
  Author: brian baldino <bbaldino at gmail.com>
  Date:   2017-02-22 (Wed, 22 Feb 2017)

  Changed paths:
    M lib/native/linux-x86-64/libjnsctp.so

  Log Message:
  -----------
  another attempt at catching the bad pointer address getting introduced.  usrsctp code for this change is here: https://github.com/bbaldino/usrsctp/tree/84a304e046ff48807fecf888dd8d8f908528cbd4.  copying the commit message from there:
change check for 'invalid' memory address to include '0x101010...' just in case that is some sort of sentinel value (my previous check just missed it). also, even if the address is in a 'valid' space, iterate through any next pointers it may contain to verify that it contains valid address all the way up to the end (null m_next pointer) in the hopes of catching the introduction of the bad pointer at its source


  Commit: 2a43e1f0d93a4055cb06e9da67f9e08d301ef04b
      https://github.com/jitsi/libjitsi/commit/2a43e1f0d93a4055cb06e9da67f9e08d301ef04b
  Author: Paweł Domas <pawel.domas at jitsi.org>
  Date:   2017-02-22 (Wed, 22 Feb 2017)

  Changed paths:
    M lib/native/linux-x86-64/libjnsctp.so

  Log Message:
  -----------
  Merge pull request #270 from bbaldino/sctp_debug_reduce_chatter

another attempt at catching the bad pointer address getting introduce…


Compare: https://github.com/jitsi/libjitsi/compare/b33616b3a522...2a43e1f0d93a


More information about the commits mailing list