2023-11-22 12:51:38 |
Jacopo Corbetta |
bug |
|
|
added bug |
2024-01-16 20:39:08 |
Sudip Mukherjee |
tags |
|
mantic |
|
2024-01-16 20:42:01 |
Sudip Mukherjee |
bug |
|
|
added subscriber Sudip Mukherjee |
2024-01-16 20:42:23 |
Sudip Mukherjee |
bug watch added |
|
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1042020 |
|
2024-01-16 20:42:23 |
Sudip Mukherjee |
bug task added |
|
mmv (Debian) |
|
2024-01-16 20:44:17 |
Robie Basak |
nominated for series |
|
Ubuntu Mantic |
|
2024-01-16 20:44:17 |
Robie Basak |
bug task added |
|
mmv (Ubuntu Mantic) |
|
2024-01-16 20:46:09 |
Sudip Mukherjee |
mmv (Ubuntu): status |
New |
Fix Released |
|
2024-01-16 20:46:13 |
Sudip Mukherjee |
mmv (Ubuntu Mantic): status |
New |
In Progress |
|
2024-01-16 20:46:20 |
Sudip Mukherjee |
mmv (Ubuntu Mantic): assignee |
|
Sudip Mukherjee (sudipmuk) |
|
2024-01-16 22:31:37 |
Bug Watch Updater |
mmv (Debian): status |
Unknown |
Fix Released |
|
2024-01-17 22:02:07 |
Sudip Mukherjee |
mmv (Ubuntu Mantic): assignee |
Sudip Mukherjee (sudipmuk) |
|
|
2024-01-17 22:02:11 |
Sudip Mukherjee |
mmv (Ubuntu Mantic): status |
In Progress |
Confirmed |
|
2024-01-17 22:05:28 |
Sudip Mukherjee |
attachment added |
|
diffstat https://bugs.launchpad.net/ubuntu/+source/mmv/+bug/2044264/+attachment/5740322/+files/diffstat |
|
2024-01-19 18:56:41 |
Sudip Mukherjee |
mmv (Ubuntu Mantic): status |
Confirmed |
In Progress |
|
2024-01-19 18:56:44 |
Sudip Mukherjee |
mmv (Ubuntu Mantic): assignee |
|
Sudip Mukherjee (sudipmuk) |
|
2024-01-19 23:01:33 |
Sudip Mukherjee |
summary |
mmv aborts with realloc(): invalid pointer |
[SRU] mmv aborts with realloc(): invalid pointer |
|
2024-01-19 23:02:11 |
Sudip Mukherjee |
description |
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1042020
Can you please import the fix? |
[ Impact ]
mmv is completely unusable if the user tries to use mmv with more than 9 files. It will result in a coredump as it will try to use an invalid pointer.
[ Test Plan ]
The following commands will use mmv to rename files.
* mkdir -p test
* cd test
* touch `seq 1 10`
* mmv '*' '#1.o'
If the package is not fixed then the above commands will result in a coredump with the error:
realloc(): invalid pointer
Aborted (core dumped)
With the fixed package the above command will rename the files with .o extension.
[ Where problems could occur ]
The latest version of gnulib is using realloc() after the multiplication overflow check which has been backported here, so there should not be any regression here.
The realloc part of the code will only be used if the number of files is more than 9 and mmv is already unusable in that scenario.
[ Other Info ]
* upstream has already reverted the change and is using an older version of gnulib, so the next mmv versions are not affected.
* The patch has not been sent upsteam as the gnulib code is correct, the problem was in the way mmv upstream has configured gnulib.
[ Original Bug Description ]
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1042020
Can you please import the fix? |
|
2024-01-19 23:02:37 |
Sudip Mukherjee |
attachment added |
|
mmv_mantic.debdiff https://bugs.launchpad.net/ubuntu/+source/mmv/+bug/2044264/+attachment/5740881/+files/mmv_mantic.debdiff |
|
2024-01-19 23:02:53 |
Sudip Mukherjee |
mmv (Ubuntu Mantic): status |
In Progress |
Confirmed |
|
2024-01-19 23:02:56 |
Sudip Mukherjee |
mmv (Ubuntu Mantic): assignee |
Sudip Mukherjee (sudipmuk) |
|
|
2024-01-19 23:03:09 |
Sudip Mukherjee |
bug |
|
|
added subscriber Ubuntu Sponsors |
2024-01-22 15:45:10 |
Ubuntu Archive Robot |
bug |
|
|
added subscriber Dave Jones |
2024-01-22 15:55:01 |
Dave Jones |
removed subscriber Ubuntu Sponsors |
|
|
|
2024-01-24 06:30:16 |
Chris Halse Rogers |
mmv (Ubuntu Mantic): status |
Confirmed |
Fix Committed |
|
2024-01-24 06:30:18 |
Chris Halse Rogers |
bug |
|
|
added subscriber Ubuntu Stable Release Updates Team |
2024-01-24 06:30:27 |
Chris Halse Rogers |
bug |
|
|
added subscriber SRU Verification |
2024-01-24 06:30:49 |
Chris Halse Rogers |
tags |
mantic |
mantic verification-needed verification-needed-mantic |
|
2024-01-24 11:54:03 |
Jacopo Corbetta |
tags |
mantic verification-needed verification-needed-mantic |
mantic verification-done-mantic verification-needed |
|
2024-01-31 11:02:54 |
Robie Basak |
tags |
mantic verification-done-mantic verification-needed |
mantic verification-needed verification-needed-mantic |
|
2024-01-31 16:31:31 |
Jacopo Corbetta |
tags |
mantic verification-needed verification-needed-mantic |
mantic verification-done-mantic verification-needed |
|
2024-02-01 12:56:09 |
Launchpad Janitor |
mmv (Ubuntu Mantic): status |
Fix Committed |
Fix Released |
|
2024-02-01 12:56:15 |
Andreas Hasenack |
removed subscriber Ubuntu Stable Release Updates Team |
|
|
|