pkgsrc-Bugs archive

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

Re: pkg/48207: pkg_info segfaults when querying a package file



The following reply was made to PR pkg/48207; it has been noted by GNATS.

From: Joerg Sonnenberger <joerg%britannica.bec.de@localhost>
To: gnats-bugs%NetBSD.org@localhost
Cc: 
Subject: Re: pkg/48207: pkg_info segfaults when querying a package file
Date: Wed, 11 Sep 2013 18:43:59 +0200

 On Wed, Sep 11, 2013 at 03:35:00PM +0000, Thomas Klausner wrote:
 >  Here's a diff that fixes the segfault for me.
 
 Don't like it. In the else part, it should be
 
        len = strlen(buf);
        next = buf + len;
 
 Joerg
 


Home | Main Index | Thread Index | Old Index