Bill Roper (billroper) wrote,
Bill Roper

It's an MFC Bug

So in Visual Studio 2008, I got a GPF in the code that loads the toolbar information from the registry. It turns out that they have an assertion if a particular pointer is NULL, which is good. The assertion has been there for a very long time.

It would be better if they then NULL-tested the pointer before proceeding to use it in the new code below.

Of course, given that we just tripped over a NULL pointer bug in my own code, I suppose I shouldn't laugh too loud.

I did file a bug report.
Tags: computers, microsoft, musings

  • Let's Try That Again

    For a variety of reasons, today ended up being moderately annoying. This is despite having made good progress on a number of fronts, so maybe I just…

  • Gentlemen, Be Seated

    I appear to collect office chairs. A few years ago, I bought a new chair for the studio in the after-Christmas sales. It is a big and tall Sealy…

  • Scheduling

    We got the heads up yesterday about the upcoming schedule for our kitchen renovation. The cabinet installers will be back on Saturday to finish up…

  • Post a new comment


    Anonymous comments are disabled in this journal

    default userpic

    Your reply will be screened

    Your IP address will be recorded