From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-0.8 required=3.0 tests=FREEMAIL_FORGED_FROMDOMAIN, FREEMAIL_FROM,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_PASS autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id BC553C43381 for ; Sat, 16 Feb 2019 22:34:04 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 923F1218FF for ; Sat, 16 Feb 2019 22:34:04 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727351AbfBPWeD convert rfc822-to-8bit (ORCPT ); Sat, 16 Feb 2019 17:34:03 -0500 Received: from shiva145.upmc.fr ([134.157.0.145]:55536 "EHLO shiva145.upmc.fr" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726523AbfBPWeD (ORCPT ); Sat, 16 Feb 2019 17:34:03 -0500 Received: from shiva145.upmc.fr (localhost [127.0.0.1]) by shiva145.upmc.fr (Postfix) with ESMTP id F392E15A4A8 for ; Sat, 16 Feb 2019 23:34:00 +0100 (CET) Received: from courriel.upmc.fr (courriel2.reseau.jussieu.fr [134.157.0.193]) by shiva145.upmc.fr (Postfix) with ESMTP id E7ADB15A233 for ; Sat, 16 Feb 2019 23:34:00 +0100 (CET) X-CIds: courriel2 Received: from draws-f6bvp (astlambert-652-1-155-71.w92-151.abo.wanadoo.fr [92.151.34.71]) (authentified, mech=LOGIN) by courriel.upmc.fr (8.14.5/jtpda-5.5pre1) with ESMTP id x1GMY0Uo064713 (version=TLSv1/SSLv3 cipher=AES256-GCM-SHA384 bits=256 verify=NO) for ; Sat, 16 Feb 2019 23:34:00 +0100 (CET) (envelope-from f6bvp@free.fr) Date: Sat, 16 Feb 2019 23:33:49 +0100 From: f6bvp To: netdev@vger.kernel.org Subject: ax25: fix possible use-after-free Message-ID: <20190216233349.7977096b@draws-f6bvp> Organization: http://radiotelescope-lavillette.fr X-Mailer: Claws Mail 3.14.1 (GTK+ 2.24.31; arm-unknown-linux-gnueabihf) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8BIT X-Virus-Scanned: ClamAV using ClamSMTP Sender: netdev-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org Patch applied successfully on Linux draws-f6bvp 4.14.79-v7+ #1159 SMP Sun Nov 4 17:50:20 GMT 2018 armv7l GNU/Linux However ax25_route_lock_use and ax25_route_lock_unuse() are not declared and compile failed. make : on entre dans le répertoire « /usr/src/linux-headers-4.14.79-v7+ » CC [M] /usr/src/linux-4.14.y/net/ax25/ax25_ip.o /usr/src/linux-4.14.y/net/ax25/ax25_ip.c: In function ‘ax25_ip_xmit’: /usr/src/linux-4.14.y/net/ax25/ax25_ip.c:117:2: error: implicit declaration of function ‘ax25_route_lock_use’ [-Werror=implicit-function-declaration] ax25_route_lock_use(); ^~~~~~~~~~~~~~~~~~~ /usr/src/linux-4.14.y/net/ax25/ax25_ip.c:211:2: error: implicit declaration of function ‘ax25_route_lock_unuse’ [-Werror=implicit-function-declaration] ax25_route_lock_unuse(); ^~~~~~~~~~~~~~~~~~~~~ cc1: some warnings being treated as errors scripts/Makefile.build:328 : la recette pour la cible « /usr/src/linux-4.14.y/net/ax25/ax25_ip.o » a echouee make[1]: *** [/usr/src/linux-4.14.y/net/ax25/ax25_ip.o] Erreur 1 Makefile:1527 : la recette pour la cible « _module_/usr/src/linux-4.14.y/net/ax25 » a echouee make: *** [_module_/usr/src/linux-4.14.y/net/ax25] Erreur 2 make : on quitte le repertoire « /usr/src/linux-headers-4.14.79-v7+ » Bernard, f6bvp