octave-maintainers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Possible bug in documentation.cc (de-referencing nullpointer)


From: Andreas Weber
Subject: Possible bug in documentation.cc (de-referencing nullpointer)
Date: Wed, 2 Jan 2019 22:22:08 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.4.0

Dear Torsten,

I write directly to you because you've added the code with cset ba5af45bbfc4 and I hope you can help quickly. If you are busy I'll create a bugreport for this.

In documentation.cc:78 m_help_engine is create with new and can't be NULL after this (except on VC6) so the check in line 110 isn't needed but after this it's set to 0 (line 112) and de-referenced afterwards (for example line 177, 181, 186 and so on)
which results in a SIGSEGV (signal 11)

Thank you, Andy



reply via email to

[Prev in Thread] Current Thread [Next in Thread]