Package: mmv
Version: 2.5-1
Severity: important

prosfilaes@asimov:~/temp/temp2/temp/temp2$ rm *
prosfilaes@asimov:~/temp/temp2/temp/temp2$ for i in `seq 1 100`; do
touch $i; done
prosfilaes@asimov:~/temp/temp2/temp/temp2$ mmv "*0" "#1"
realloc(): invalid pointer
Aborted
prosfilaes@asimov:~/temp/temp2/temp/temp2$ ls
1   100  12  14  16  18  2   21  23  25  27  29  30  32  34  36  38  4
  41  43  45  47  49  50  52  54  56  58  6   61  63  65  67  69  70
72  74  76  78  8   81  83  85  87  89  90  92  94  96  98
10  11   13  15  17  19  20  22  24  26  28  3   31  33  35  37  39
40  42  44  46  48  5   51  53  55  57  59  60  62  64  66  68  7   71
 73  75  77  79  80  82  84  86  88  9   91  93  95  97  99
prosfilaes@asimov:~/temp/temp2/temp/temp2$

It doesn't happen with only a few files, but there's nothing special
about this test case.

-- System Information:
Debian Release: trixie/sid
 APT prefers unstable
 APT policy: (500, 'unstable'), (500, 'stable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 6.3.0-2-amd64 (SMP w/16 CPU threads; PREEMPT)
Kernel taint flags: TAINT_WARN
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages mmv depends on:
ii  libc6   2.37-6
ii  libgc1  1:8.2.4-1

mmv recommends no packages.

Versions of packages mmv suggests:
pn  renameutils  <none>

-- no debconf information


-- 
The standard is written in English . If you have trouble understanding
a particular section, read it again and again and again . . . Sit up
straight. Eat your vegetables. Do not mumble. -- _Pascal_, ISO 7185
(1991)

Reply via email to