diff options
| author | Denys Vlasenko <vda.linux@googlemail.com> | 2025-08-06 14:04:49 +0200 |
|---|---|---|
| committer | Denys Vlasenko <vda.linux@googlemail.com> | 2025-08-06 14:04:49 +0200 |
| commit | 47d27cdaff8e07783683a076359dd975b822bc86 (patch) | |
| tree | dc596193fbf00b1c68a8cbc2970b611c29925dcb /libbb | |
| parent | 40c2d01da2ebfccf060a487f946bc79df0d33011 (diff) | |
libbb: fix too-narrow variable in procps_read_smaps() causing incorrect sizes
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'libbb')
| -rw-r--r-- | libbb/procps.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libbb/procps.c b/libbb/procps.c index 94bbd9eb5..d512993e8 100644 --- a/libbb/procps.c +++ b/libbb/procps.c @@ -231,7 +231,7 @@ static NOINLINE void procps_read_smaps(pid_t pid, procps_status_t *sp) // f7d29000-f7d39000 rw-s FILEOFS M:m INODE FILENAME char *rwx; - unsigned long sz; + unsigned long long sz; *tp = ' '; tp = buf; |
