lsblk killed when given duplicate devices

Bug #1911051 reported by ov2k
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
util-linux (Ubuntu)
New
Undecided
Unassigned

Bug Description

Ubuntu 20.04.1 LTS
util-linux 2.34-0.1ubuntu9.1

Running lsblk with the same device multiple times results in an OOM error.

lsblk /dev/sda1 /dev/sda1
lsblk /dev/sda1 "/dev/disk/by-uuid/$(lsblk -no uuid /dev/sda1)"

For reference, this does not occur with Ubuntu 18.04.5 LTS (util-linux 2.31.1-0.4ubuntu3.7).

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.