From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 27794 invoked by alias); 30 Jul 2017 16:27:52 -0000 Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org Received: (qmail 27777 invoked by uid 89); 30 Jul 2017 16:27:51 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.6 required=5.0 tests=AWL,BAYES_00,RCVD_IN_SORBS_SPAM,SPF_PASS autolearn=no version=3.3.2 spammy= X-HELO: gproxy8-pub.mail.unifiedlayer.com Received: from gproxy8-pub.mail.unifiedlayer.com (HELO gproxy8-pub.mail.unifiedlayer.com) (67.222.33.93) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Sun, 30 Jul 2017 16:27:50 +0000 Received: from CMOut01 (unknown [10.0.90.82]) by gproxy8.mail.unifiedlayer.com (Postfix) with ESMTP id 941031AB119 for ; Sun, 30 Jul 2017 10:27:48 -0600 (MDT) Received: from box522.bluehost.com ([74.220.219.122]) by CMOut01 with id r4Tl1v00C2f2jeq014ToFV; Sun, 30 Jul 2017 10:27:48 -0600 X-Authority-Analysis: v=2.2 cv=XMVAcUpE c=1 sm=1 tr=0 a=GsOEXm/OWkKvwdLVJsfwcA==:117 a=GsOEXm/OWkKvwdLVJsfwcA==:17 a=G3gG6ho9WtcA:10 a=V-b9d2ZAfj71tv2EM1AA:9 Received: from c-67-176-62-53.hsd1.co.comcast.net ([67.176.62.53]:34912 helo=bapiya) by box522.bluehost.com with esmtpsa (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.87) (envelope-from ) id 1dbr4D-0036Uv-4s; Sun, 30 Jul 2017 10:27:45 -0600 From: Tom Tromey To: Simon Marchi Cc: Tom Tromey , gdb-patches@sourceware.org Subject: Re: [RFA v2 03/24] Change return type of find_and_open_script References: <20170725172107.9799-1-tom@tromey.com> <20170725172107.9799-4-tom@tromey.com> <2fed0a72cbcbf472906e4c4966cde63b@polymtl.ca> Date: Sun, 30 Jul 2017 16:27:00 -0000 In-Reply-To: <2fed0a72cbcbf472906e4c4966cde63b@polymtl.ca> (Simon Marchi's message of "Sun, 30 Jul 2017 01:54:36 +0200") Message-ID: <8760e9anzz.fsf@tromey.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-BWhitelist: no X-Exim-ID: 1dbr4D-0036Uv-4s X-Source-Sender: c-67-176-62-53.hsd1.co.comcast.net (bapiya) [67.176.62.53]:34912 X-Source-Auth: tom+tromey.com X-Email-Count: 6 X-Source-Cap: ZWx5bnJvYmk7ZWx5bnJvYmk7Ym94NTIyLmJsdWVob3N0LmNvbQ== X-Local-Domain: yes X-SW-Source: 2017-07/txt/msg00441.txt.bz2 >>>>> "Simon" == Simon Marchi writes: Simon> Here, isn't path_ptr used after free in case the auto-load was denied? Yeah... I thought I had removed path_ptr entirely but I guess I just meant to do that and forgot. Anyway, I've removed it now. Tom