From: J William Piggott <elseifthen@gmx.com>
To: Karel Zak <kzak@redhat.com>
Cc: util-linux@vger.kernel.org
Subject: [PATCH 0/4] Pull Request
Date: Sun, 22 Oct 2017 20:37:14 -0400 [thread overview]
Message-ID: <ac1afb00-aed1-4eed-aabe-89d26e29ca0d@gmx.com> (raw)
This patch set address four bugs. Three are related to ISO 8601 formats
and the fourth is a tangentially related bug in hwclock.
Patch 0002 increases the ISO 8601 buffer macro from 32 to 42 which should
work for the first three, and may be usable in the last four files:
login-utils/last.c:1039 buffer size 32
misc-utils/uuidparse.c:231 uses ISO_8601_BUFSIZ + 4
login-utils/utmpdump.c:94 buffer size 40
login-utils/lslogins.c:316 buffer size 64
sys-utils/lsipc.c:1328 buffer size 64
sys-utils/dmesg.c:887 buffer size 256
term-utils/script.c:351 uses BUFSIZ (8K on my system)
I haven't tested it on them.
The the final patch adds some common ISO timestamp format masks.
The following changes since commit b41bac08abadbea9bac7a093c995ca53d86c76f1:
build-sys: move rfkill to /usr/sbin (2017-10-20 14:59:16 +0200)
are available in the git repository at:
git@github.com:jwpi/util-linux.git 170925
for you to fetch changes up to a9f92c6d1f25f4111f1334bdb2dd96f8b4ccb9ba:
lib/timeutils: add common ISO timestamp masks (2017-10-21 20:55:01 -0400)
----------------------------------------------------------------
J William Piggott (4):
hwclock: add iso-8601 overflow check
lib/timeutils: ISO_8601_BUFSIZ too small
lib/timeutils: add get_gmtoff()
lib/timeutils: add common ISO timestamp masks
include/timeutils.h | 23 ++++++++++++-----
lib/timeutils.c | 70 +++++++++++++++++++++++++++++++++++++++++++++++---
login-utils/last.c | 2 +-
login-utils/lslogins.c | 3 +--
login-utils/utmpdump.c | 4 +--
misc-utils/uuidparse.c | 10 ++------
sys-utils/dmesg.c | 4 +--
sys-utils/hwclock.c | 23 +++++++----------
sys-utils/lsipc.c | 2 +-
sys-utils/rfkill.c | 8 ++----
term-utils/script.c | 8 ++----
11 files changed, 103 insertions(+), 54 deletions(-)
next reply other threads:[~2017-10-23 0:37 UTC|newest]
Thread overview: 23+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-10-23 0:37 J William Piggott [this message]
2017-10-23 0:38 ` [PATCH 1/4] hwclock: add iso-8601 overflow check J William Piggott
2017-10-23 0:39 ` [PATCH 2/4] lib/timeutils: ISO_8601_BUFSIZ too small J William Piggott
2017-10-23 0:40 ` [PATCH 3/4] lib/timeutils: add get_gmtoff() J William Piggott
2017-10-23 0:41 ` [PATCH 4/4] lib/timeutils: add common ISO timestamp masks J William Piggott
2017-10-23 9:49 ` Karel Zak
2017-10-23 19:54 ` J William Piggott
2017-10-24 9:37 ` Karel Zak
2017-10-24 16:19 ` J William Piggott
2017-11-02 13:45 ` Karel Zak
-- strict thread matches above, loose matches on Subject: below --
2017-12-10 15:47 [PATCH 0/4] Pull Request J William Piggott
2017-12-11 14:53 ` Karel Zak
2017-07-16 17:46 J William Piggott
2017-07-17 10:03 ` Karel Zak
2017-06-25 21:45 [PATCH 0/4] pull request J William Piggott
2017-06-26 8:27 ` Karel Zak
2017-06-26 12:11 ` Karel Zak
2017-06-26 13:47 ` J William Piggott
2017-06-26 14:25 ` Karel Zak
2017-05-31 18:45 J William Piggott
2017-06-01 8:54 ` Karel Zak
2017-04-27 3:29 [PATCH 0/4] Pull Request J William Piggott
2017-05-02 9:13 ` Karel Zak
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=ac1afb00-aed1-4eed-aabe-89d26e29ca0d@gmx.com \
--to=elseifthen@gmx.com \
--cc=kzak@redhat.com \
--cc=util-linux@vger.kernel.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
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).