1
0
Fork
You've already forked util-linux
0
  • C 81.7%
  • Shell 11.9%
  • Meson 2%
  • M4 1.9%
  • Berry 1.1%
  • Other 1.3%
Find a file
Karel Zak f9baae05e3 libsmartcols: reject large interval repetition bounds in filter regex
ERE interval expressions like {,32232} cause glibc regcomp() to
allocate gigabytes for the NFA, triggering OOM even on tiny inputs.
The existing consecutive-quantifier and nested-group checks do not
catch this pattern.
Scan numbers inside {...} and reject any bound exceeding
SCOLS_FILTER_MAX_REPCNT (1024). Document the new limit in
scols-filter(5).
Addresses: https://oss-fuzz.com/testcase-detail/6017673394454528
Signed-off-by: Karel Zak <kzak@redhat.com>
2026年06月30日 12:49:26 +02:00
.github ci: add a macos workflow 2026年05月14日 13:19:43 +02:00
agetty-cmd agetty: guard conditional function declarations in header 2026年05月20日 12:44:21 +02:00
bash-completion lscpu: add RISC-V MMU column support 2026年06月12日 09:36:17 +08:00
config
disk-utils disk-utils: fix memory leak in execute function 2026年06月29日 15:52:06 +03:00
Documentation docs: remove obsolete historical readme files, update AUTHORS 2026年06月29日 14:08:01 +02:00
include bitops: avoid macro redefinition on macOS 2026年06月25日 15:12:44 +02:00
lib mbsalign: check remaining buffer space before writing hex escapes 2026年06月22日 20:59:26 +05:30
libblkid libblkid: fix use-after-free in nested partition probing 2026年06月16日 10:53:52 +02:00
libfdisk libfdisk: fix OOM on GPT with huge partition entries array 2026年06月22日 10:25:12 +02:00
liblastlog2 man pages: avoid troff warning about undefined 'Aq' string 2026年06月08日 13:41:26 +02:00
libmount libmount: merge utab into listmount-based tables 2026年06月29日 11:13:18 +02:00
libsmartcols libsmartcols: reject large interval repetition bounds in filter regex 2026年06月30日 12:49:26 +02:00
libuuid man pages: avoid troff warning about undefined 'Aq' string 2026年06月08日 13:41:26 +02:00
login-utils lslogins: bound lastlog2 tty/host copy to destination size 2026年06月14日 13:13:26 +05:30
lsblk-cmd lsblk: truncate long ID-LINK columns 2026年06月02日 20:57:43 +08:00
lsfd-cmd lsfd: use memset explicitly to fill bpf_attr with zero 2026年05月11日 11:44:48 +02:00
m4 fix spelling and typos 2024年08月21日 15:30:51 +00:00
man-common man: Adjust ENVIRONMENT grammar 2026年04月09日 11:09:26 +02:00
misc-utils libmount: merge utab into listmount-based tables 2026年06月29日 11:13:18 +02:00
pam_lastlog2 pam_lastlog2: fix libpam linking in autotools build 2026年05月19日 10:54:57 +02:00
po po: merge changes 2026年04月01日 13:24:58 +02:00
po-man license: switch from BSD 4-clause to 3-clause 2026年05月14日 20:58:40 -04:00
schedutils uclampset: fix lost-update race in set_uclamp_one() 2026年05月31日 11:42:30 +03:00
sys-utils unshare: Fix --map-auto regression 2026年06月29日 15:37:27 +00:00
term-utils Merge branch 'PR/agetty-split' of https://github.com/karelzak/util-linux-work 2026年05月26日 11:29:46 +02:00
tests Merge branch 'fix/2205' of https://github.com/echoechoin/util-linux 2026年06月30日 10:42:48 +02:00
text-utils hexdump: stop after stdout write errors 2026年06月28日 01:34:08 +08:00
tools OSS-Fuzz: Add new fuzzers targets libsmartcols 2026年06月24日 11:20:03 +02:00
.clangd add .clangd configuration 2026年03月19日 13:12:15 +01:00
.editorconfig style: convert tabs to spaces in meson.build 2026年02月05日 09:13:23 +08:00
.gitignore gitignore: replace CLAUDE.md with .claude/ directory 2026年03月18日 14:10:53 +01:00
.packit.yaml added sqlite3 to packit 2024年01月31日 13:55:51 +01:00
.shellcheckrc ci: disable shellcheck warning for unused variables 2023年01月23日 13:21:54 +00:00
AGENTS.md docs: replace howto-*.txt with HOWTO-*.md and add AGENTS.md 2026年06月29日 13:54:10 +02:00
AUTHORS docs: remove obsolete historical readme files, update AUTHORS 2026年06月29日 14:08:01 +02:00
autogen.sh autotools: check for flex in autogen.sh 2023年11月20日 22:25:46 +01:00
ChangeLog
CLAUDE.md docs: add CLAUDE.md pointing to AGENTS.md 2026年06月29日 14:12:56 +02:00
configure.ac build-sys: require lastlog.h for liblastlog2 2026年06月30日 15:00:38 +08:00
COPYING
Makefile.am agetty: move agetty.c to agetty-cmd/ directory 2026年05月14日 13:14:34 +02:00
meson.build meson: add compile test for scandirat() 2026年06月24日 11:56:34 +02:00
meson_options.txt meson: add build-lscpu option 2026年05月14日 13:18:41 +02:00
NEWS build-sys: update release dates 2026年02月26日 11:53:42 +01:00
README docs: rename v*-devel tag to v*-start 2025年02月18日 12:16:51 +01:00
README.licensing license: switch from BSD 4-clause to 3-clause 2026年05月14日 20:58:40 -04:00
util-linux.doap Use https for project-related documentation. 2022年11月05日 10:43:49 +01:00

				 util-linux
		util-linux is a random collection of Linux utilities
 Note: for the years 2006-2010 this project was named "util-linux-ng".
COMPILE & INSTALL:
 See Documentation/howto-compilation.txt.
MAILING LIST:
 E-MAIL: util-linux@vger.kernel.org
 URL: http://vger.kernel.org/vger-lists.html#util-linux
 ARCHIVE: https://lore.kernel.org/util-linux/
 The mailing list will reject email messages that contain:
 - more than 100K characters
 - html
 - spam phrases/keywords
 See: http://vger.kernel.org/majordomo-info.html#taboo
IRC CHANNEL:
 #util-linux at libera.chat:
 irc://irc.libera.chat/util-linux
 The IRC channel and Mailing list are for developers and project
 maintainers. For end users it is recommended to utilize the
 distribution's support system.
BUG REPORTING:
 E-MAIL: util-linux@vger.kernel.org
 Web: https://github.com/util-linux/util-linux/issues
 Bug reports with sensitive or private information: Karel Zak <kzak@redhat.com>
 This project has no resources to provide support for distribution specific
 issues. For end users it is recommended to utilize the distribution's
 support system.
NLS (PO TRANSLATIONS):
 PO files are maintained by:
	 https://translationproject.org/domain/util-linux.html
VERSION SCHEMA:
 Standard releases:
	 <major>.<minor>[.<maint>]
	 major = fatal and deep changes
	 minor = typical release with new features
	 maint = maintenance releases; bug fixes only
 Development releases:
	 <major>.<minor>-rc<N>
SOURCE CODE:
 Download archive:
	 https://www.kernel.org/pub/linux/utils/util-linux/
 See also:
 Documentation/howto-contribute.txt
 Documentation/howto-build-sys.txt
 Documentation/howto-pull-request.txt
 SCM (Source Code Management) Repository:
 Primary repository:
	 git clone git://git.kernel.org/pub/scm/utils/util-linux/util-linux.git
 Backup repository:
	 git clone https://github.com/util-linux/util-linux.git
 Web interfaces:
	 https://git.kernel.org/cgit/utils/util-linux/util-linux.git
	 https://github.com/util-linux/util-linux
 Note: the GitHub repository may contain temporary development branches too.
 The kernel.org repository contains master (current development) and stable/*
 (maintenance) branches only. All master or stable/* changes are always pushed
 to both repositories at the same time.
 Repository Branches: 'git branch -a'
	 Master Branch:
	 - Continuously developed, no feature freeze or translation freezes.
	 - Day-to-day status is: 'it works for me'. This means that its
	 normal state is useful but not well tested.
	 Stable Branches:
	 - Public releases.
	 - Branch name: stable/v<major>.<minor>.
	 - Created from the 'master' branch.
	 - The release candidates and final release are always based
 on the stable branch.
	 - Maintenance releases are part of, and belong to, their respective
	 stable branch. As such, they are tags(<major>.<minor>.<maint>) and
	 not branches of their own. They are not part of, visible in, or
	 have anything to do with the 'master' development branch. In git
	 terminology: maintenance releases are not reachable from 'master'.
	 - When initially cloned (as with the 'git clone' command given above),
	 these branches are created as 'remote tracking branches' and are
	 only visible by using the -a or -r options to 'git branch'. To
	 create a local branch, use the desired tag with this command:
	 'git checkout -b v2.29.2 v2.29.2'
 Tags: 'git tag'
	 - v<version> tag is created in the stable branch for every release.
	 - v<version>-start is created in the master branch to start work on the next release.
	 - All tags are signed by the maintainer's PGP key.
WORKFLOW EXAMPLE:
 Development Releases
 (Master Branch) (Stable/vX.Y Branch)
 - Sync latest translations
 from translationproject.org
 - Tag v<X.Y+1>-devel - Fork from master to stable/v<X.Y> branch
 - Code stabilization
 - RC1 (Tag v<X.Y>-rc1)
 - Backport bug fixes
 - RC2 (Tag v<X.Y>-rc2)
 - po/ and po-man/ translations available on
 translationproject.org/
 - Wait 7-17 days for translators
 - Sync latest translations
 - Backport bug fixes
 - Final release v<X.Y> (Tag v<X.Y>)
 ...
 - Release v<X.Y>.1
 ...
 - Release v<X.Y>.2