NetBSD-Bugs archive

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

Re: bin/47757

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

From: Tobias Nygren <>
Subject: Re: bin/47757
Date: Thu, 19 Mar 2015 15:50:29 +0100

 Please pull up this fix to netbsd-6.
 I just found out that pkgsrc/devel/ccache is broken due to a variant of this bug.
 #include <stdio.h>
 #include <string.h>
 #include <stdlib.h>
 #include <assert.h>
 int main(int argc, char **argv) {
         char *itemplate = "/tmp/test/test.XXX";
         char *otemplate = strdup(itemplate);
         system("rm -rf /tmp/test");
         printf("%s\n", itemplate);
         printf("%s\n", otemplate);

Home | Main Index | Thread Index | Old Index