### ImageMagick version

7.1.1-20

### Operating system

Linux

### Operating system, version and so on

11

### Description

convert works fine with thousands of files but it fails with this one attached png.

### Steps to Reproduce

```
$ convert b.png c.jpg
convert: Expected 8 bytes; found 0 bytes `/imgs/b.png' @ warning/png.c/MagickPNGWarningHandler/1526.
convert: Read Exception `/imgs/b.png' @ error/png.c/MagickPNGErrorHandler/1492.
convert: no images defined `c.jpg' @ error/convert.c/ConvertImageCommand/3359.
```

As I had the issue with my locally installed IM 6.99, I tried it with a containered version 7.1:

```
$ podman run --rm -v  $PWD:/imgs -it dpokidov/imagemagick b.png c.jpg
convert: Expected 8 bytes; found 0 bytes `b.png' @ warning/png.c/MagickPNGWarningHandler/1526.
convert: Read Exception `b.png' @ error/png.c/MagickPNGErrorHandler/1492.
convert: no images defined `c.jpg' @ error/convert.c/ConvertImageCommand/3359.
```

### Images

![b](https://github.com/ImageMagick/ImageMagick/assets/96378/1c6b7af5-d08d-45be-8074-1c65d23c4719)

convert crashes with this png file
This is a GitHub Issue
repo:ImageMagick
owner:ImageMagick
Title : convert crashes with this png file
Issue date:

--- start body ---
### ImageMagick version

7.1.1-20

### Operating system

Linux

### Operating system, version and so on

11

### Description

convert works fine with thousands of files but it fails with this one attached png.

### Steps to Reproduce

```
$ convert b.png c.jpg
convert: Expected 8 bytes; found 0 bytes `/imgs/b.png' @ warning/png.c/MagickPNGWarningHandler/1526.
convert: Read Exception `/imgs/b.png' @ error/png.c/MagickPNGErrorHandler/1492.
convert: no images defined `c.jpg' @ error/convert.c/ConvertImageCommand/3359.
```

As I had the issue with my locally installed IM 6.99, I tried it with a containered version 7.1:

```
$ podman run --rm -v  $PWD:/imgs -it dpokidov/imagemagick b.png c.jpg
convert: Expected 8 bytes; found 0 bytes `b.png' @ warning/png.c/MagickPNGWarningHandler/1526.
convert: Read Exception `b.png' @ error/png.c/MagickPNGErrorHandler/1492.
convert: no images defined `c.jpg' @ error/convert.c/ConvertImageCommand/3359.
```

### Images

![b](https://github.com/ImageMagick/ImageMagick/assets/96378/1c6b7af5-d08d-45be-8074-1c65d23c4719)

--- end body ---

None