What were you trying to do that didn't work?
There is a segfault when trying expand and unexpand with randomly generated file.
Try more files, there are always segfault.
[root@ip-172-31-17-206 ~]# dd if=/dev/urandom of="file123.bin" bs=1k count=1 2>/dev/null
[root@ip-172-31-17-206 ~]# /usr/bin/unexpand file123.bin
What is the impact of this issue to you?
segfault
Please provide the package NVR for which the bug is seen:
How reproducible is this bug?:
Steps to reproduce
[root@ip-172-31-17-206 ~]# dd if=/dev/urandom of="file123.bin" bs=1k count=1 2>/dev/null
[root@vm-10-0-186-182 ~]# /usr/bin/unexpand file123.bin
unexpand: ../lib/mbfile.h:101: mbfile_multi_getc: Assertion `mbsinit (&mbf->state)' failed.
Aborted (core dumped)
[root@vm-10-0-186-182 ~]# expand file123.bin
expand: ../lib/mbfile.h:101: mbfile_multi_getc: Assertion `mbsinit (&mbf->state)' failed.
Aborted (core dumped)
Expected results
no segfault