From: Aleksey Cheusov <vle@gmx.net>
To: ALT Linux Team development discussions <devel@lists.altlinux.org>
Subject: Re: [devel] rpm макросы для пакета mk-configure
Date: Mon, 01 Jun 2020 19:15:44 +0300
Message-ID: <5464101591028060@mail.yandex.ru> (raw)
In-Reply-To: <20200528003031.61eba8e4ba861419dd2f6a54@altlinux.org>
offlist
28.05.2020, 00:30, "Andrey Savchenko" <bircoph@altlinux.org>:
> Там добавился ещё paexec. По нему есть gcc warning:
>
> In file included from /usr/include/string.h:507,
> from paexec.c:32:
> In function 'strncpy',
> inlined from 'init__read_graph_tasks' at paexec.c:276:3:
> /usr/include/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' specified bound 2000 equals destination size [-Wstringop-truncation]
> 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest));
> | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>
> Это вот эта строка:
> strncpy (buf_copy, buf, sizeof (buf_copy));
>
> Размер buf может быть больше buf_copy, т.к. он определяется функцией
> getdelim(NULL,0,…) и данные читаются из stdin. В таком случае buf_copy
> будет без терминирующего нуля.
Исправил в 1.1.4 См. таск №252663
Нужен эпрув
prev parent reply other threads:[~2020-06-01 16:15 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-05-25 18:59 Aleksey Cheusov
2020-05-25 19:49 ` Andrey Savchenko
2020-05-25 19:53 ` Andrey Savchenko
2020-05-25 22:09 ` Dmitry V. Levin
2020-05-25 22:36 ` Andrey Savchenko
2020-05-26 18:30 ` Aleksey Cheusov
2020-05-27 21:30 ` Andrey Savchenko
2020-06-01 16:15 ` Aleksey Cheusov [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=5464101591028060@mail.yandex.ru \
--to=vle@gmx.net \
--cc=devel@lists.altlinux.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
ALT Linux Team development discussions
This inbox may be cloned and mirrored by anyone:
git clone --mirror http://lore.altlinux.org/devel/0 devel/git/0.git
# If you have public-inbox 1.1+ installed, you may
# initialize and index your mirror using the following commands:
public-inbox-init -V2 devel devel/ http://lore.altlinux.org/devel \
devel@altlinux.org devel@altlinux.ru devel@lists.altlinux.org devel@lists.altlinux.ru devel@linux.iplabs.ru mandrake-russian@linuxteam.iplabs.ru sisyphus@linuxteam.iplabs.ru
public-inbox-index devel
Example config snippet for mirrors.
Newsgroup available over NNTP:
nntp://lore.altlinux.org/org.altlinux.lists.devel
AGPL code for this site: git clone https://public-inbox.org/public-inbox.git