Your message dated Sun, 14 Mar 2021 21:33:44 +0000
with message-id <[email protected]>
and subject line Bug#902609: fixed in lmbench 3.0-a9+debian.1-4
has caused the Debian Bug report #902609,
regarding lmbench: Using int for mmap() may cause integer overflow
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
902609: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=902609
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: lmbench
Version: 3.0-a9+debian.1-2
Severity: normal
Tags: patch
At last on AMD64, size_t is now ‘long unsigned int’.
Using int type for mmap() can cause the integer overflow.
Please consider including the attached patch.
-- System Information:
Debian Release: buster/sid
APT prefers bionic-updates
APT policy: (500, 'bionic-updates'), (500, 'bionic-security'), (500,
'bionic'), (100, 'bionic-backports')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 4.15.0-23-generic (SMP w/4 CPU cores)
Locale: LANG=zh_TW.UTF-8, LC_CTYPE=zh_TW.UTF-8 (charmap=UTF-8),
LANGUAGE=zh_TW:en_US:en (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
Versions of packages lmbench depends on:
ii gcc 4:7.3.0-3ubuntu2
ii libc6 2.27-3ubuntu1
ii libc6-dev [libc-dev] 2.27-3ubuntu1
ii perl 5.26.1-6ubuntu0.1
Versions of packages lmbench recommends:
ii lmbench-doc 3.0-a9+debian.1-2
lmbench suggests no packages.
-- no debconf information
From a409efbc261ca097b414da7986fc2ea6a35af6dd Mon Sep 17 00:00:00 2001
From: Keng-Yu Lin <[email protected]>
Date: Thu, 28 Jun 2018 18:35:54 +0800
Subject: [PATCH] Use size_t for mmap()
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
At last on AMD64, size_t is now ‘long unsigned int’.
Using int type can cause the integer overflow.
Signed-off-by: Keng-Yu Lin <[email protected]>
---
src/lat_pagefault.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/lat_pagefault.c b/src/lat_pagefault.c
index 66f67cd..0e16ddd 100644
--- a/src/lat_pagefault.c
+++ b/src/lat_pagefault.c
@@ -18,7 +18,7 @@ char *id = "$Id$\n";
typedef struct _state {
int fd;
- int size;
+ size_t size;
int npages;
int clone;
char* file;
--
2.11.0
--- End Message ---
--- Begin Message ---
Source: lmbench
Source-Version: 3.0-a9+debian.1-4
Done: Al Stone <[email protected]>
We believe that the bug you reported is fixed in the latest version of
lmbench, which is due to be installed in the Debian FTP archive.
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Al Stone <[email protected]> (supplier of updated lmbench package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
Format: 1.8
Date: Sun, 14 Mar 2021 15:07:59 -0600
Source: lmbench
Architecture: source
Version: 3.0-a9+debian.1-4
Distribution: unstable
Urgency: medium
Maintainer: Al Stone <[email protected]>
Changed-By: Al Stone <[email protected]>
Closes: 786941 902609
Changes:
lmbench (3.0-a9+debian.1-4) unstable; urgency=medium
.
* Remove use of dpatch, move to default quilt usage
* Fix up config path (Closes: #786941)
* Use size_t not int to avoid overflow (Closes: #902609)
* Add in Vcs-Git field to debian/control
* Fix usage of ${perl:Depends}
* Update Standards-Version
* Fix lintian warnings about perl shebang, debhelper levels, native
language encoding, lack of debug symbols, and extra white space
Checksums-Sha1:
7380fcb178f2dd484db6d1b51b9261e684297c3f 1958 lmbench_3.0-a9+debian.1-4.dsc
a75ea12780ba38bd52210b59a7d140c5a62c3dff 15504
lmbench_3.0-a9+debian.1-4.debian.tar.xz
f44e1ee34b85b429498180e110c1f619aacae141 5888
lmbench_3.0-a9+debian.1-4_source.buildinfo
Checksums-Sha256:
044bddfff8d1f7c898464ed817eb07b6089d597aeb6887e533798578dbad74a7 1958
lmbench_3.0-a9+debian.1-4.dsc
1f7e728ecc1f6d3ab0bf9ded5b30ef1558fbec8f1ed706a405d2259084f4b85e 15504
lmbench_3.0-a9+debian.1-4.debian.tar.xz
51e5b33c1865ff5c9e4cdb49f68bb600cdc177c24192779f57120f21cf3f7743 5888
lmbench_3.0-a9+debian.1-4_source.buildinfo
Files:
ab81510c65057ca6178b92254ae2b57a 1958 non-free/admin optional
lmbench_3.0-a9+debian.1-4.dsc
299840e9c34e49c669f1bc8698d8ee41 15504 non-free/admin optional
lmbench_3.0-a9+debian.1-4.debian.tar.xz
f55759c1527532c21bc7387d45e0d5b7 5888 non-free/admin optional
lmbench_3.0-a9+debian.1-4_source.buildinfo
-----BEGIN PGP SIGNATURE-----
iQIzBAEBCAAdFiEEiclaKI7ZGQ+4GJLWUwywAtdhsWwFAmBOfC0ACgkQUwywAtdh
sWx3oxAAvMhzjKE7LKbs5KooI9bMVqWWz0G6hTt0/bq9V1udfqMAELRiZVvZh2+4
sF8umqT1TPbkYXbsZJzrXEpjDadjIgRT0G9x5Kfvrd4VEK+CUrbEy4yuK6GtoGKV
l2nwj19DBEgPoZTjmD90yAn3mR3FdqnhF1K3/iaaXLs7TWAy/w+gCyAHVQfLSPBu
39uQNE2ui8eOhTFmo3AyrSaoQT8vCZo1NRTBioxi6LTVDVqN9Yn/IV0q+1PEcTME
cXs9+Nsx0NG0fPid7oiYmv/jgxiDgtHS+G0DFJl3Z7M0WYWCcrvx+53g/BO7QRFd
mXxmLsdIs6UXyde9z68/YeXskIvSyET6w3mkZO5IJbOR55R0UKNEboTLmd7c4dGx
vkHtzvmtlIMBbvgUG3rffTn6jIM2/sYzBiXLcBOxw8p62NGC9we7ll94NxYV+87c
BM3kW//0oFnMgdUXODoocUNtM7TBuUKSxHDyzGgQoCznYUikScIiBxmtOojcuCPy
gerbNu8huiyYwMauqdj3IQl2MjGVui8Km6PrlYzNqike6DIxxsa/WHDrBWOZOcZo
46h283NbF3AVAPawiN/J9lYe0rTNssgy8E55P433ivM6ijIL/l6G2Ddq1nS/bMhO
v56oU2pRl1OGMOz0JQQq7mN7tzO5moddXWEm+sWy9H9pryRPrCw=
=ih8n
-----END PGP SIGNATURE-----
--- End Message ---