bug-gnu-pspp
[Top][All Lists]
Advanced

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

PSPP-BUG: [bug #28883] Potential null pointer dereference in psql-reader


From: Ben Pfaff
Subject: PSPP-BUG: [bug #28883] Potential null pointer dereference in psql-reader.c
Date: Sat, 13 Feb 2010 04:47:10 +0000
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.0.11) Gecko/2009061319 Iceweasel/3.0.11 (Debian-3.0.11-1)

URL:
  <http://savannah.gnu.org/bugs/?28883>

                 Summary: Potential null pointer dereference in psql-reader.c
                 Project: PSPP
            Submitted by: blp
            Submitted on: Fri Feb 12 20:47:09 2010
                Category: System/Portable File I/O
                Severity: 5 - Average
                  Status: None
             Assigned to: jmd
             Open/Closed: Open
         Discussion Lock: Any
                 Release: None
                  Effort: 0.00

    _______________________________________________________

Details:

The "clang" static analyzer reported a number of related potential null
pointer dereferences in psql-reader.c.  I'm attaching one of the reports.

According to John Darrington:


One thing is for sure: that code could use some more comments.

The analyser is correct.  A null pointer dereference could potentially
occur if the PSQL library server started behaving oddly.  However, this
feature has some quite comprehensive tests, and there's been no problem 
so far.

I suggest that we raise a bug about this, so that I can fix it when I 
get time.




    _______________________________________________________

File Attachments:


-------------------------------------------------------
Date: Fri Feb 12 20:47:09 2010  Name: report-5PvYYA.html  Size: 109kB   By:
blp

<http://savannah.gnu.org/bugs/download.php?file_id=19691>

    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?28883>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/





reply via email to

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