Possible bug with Panasonic G9 hi-res raw files

Hello, I've recently come across some strange behavior related to the Panasonic Lumix DC-G9's hi-res mode raw files and apps that I believe use libraw for decoding (such as the photos app in windows with the raw codec).

The first issue I've experienced is an unnatural green tint with both the hi-res raw file and the 20mp raw file that gets taken simultaneously in the hi-res mode. A shot with the same settings but not utilizing the hi-res feature does not show this issue.

The second issue is a strange pattern showing up only on the extreme far right side of the hi-res shot. Here are two links to some sample raw files to illustrate the issues. Perhaps there is something in the metadata that is causing libraw to have an issue with these files? Any insight would be appreciated, thanks!

Green tint sample: https://1drv.ms/u/s!AmDTFJDf7uNmiOxrgt-GgpkltSvc5Q?e=BLFmgU
Strange pattern sample: https://1drv.ms/u/s!AmDTFJDf7uNmiOxsv8ApsbxEt-8bcw?e=sfTnpn

AttachmentSize
Image icon hi res issue crop.jpg101.42 KB

Forums: 

Thank you for the sample

Thank you for the sample files (downloaded, you may remove them to clean up OneDrive space).

1st: we do not see green tint in our software that uses LibRaw for raw decoding and/or rendering (FastRawViewer, RawDigger). We do not know what specific version(s) of LibRaw is used in your apps and how app vendors use it (only for raw decoding, or also for rendering), so it is hard to help w/ this specific case.

2nd: Garbage at right edge of high-res image confirmed. We will adjust the size of sensor technological area to be cropped out in future LibRaw update (coming soon).

Thank you again for detailed problem report and for the RAWs.

-- Alex Tutubalin @LibRaw LLC