Black Border on CR2 images

As I look at older CR2 images (I now work with RAF format) I find that a black border is being displayed on 2 sides of the image while being processed.
When I track down the offending module I find that it is, strangely, the “raw black/white point” that is creating the problem.
I now need to crop 2 sides of all images to correct the problem…
Does anybody else see this?
Manjaro/Arch dt=4.7.0+219~gb5489bd49c

Almost all Canon raw files have masked pixels (black borders). They are cropped in raw black/white point module. The settings for this are found in cameras.xml so you will need to check what it says about your Canon model.

This post may help you Measure black and white levels? - #11 by Peter

Edit: I checked your 50D. Seems right in cameras.xml and 50D works with my 4.6.0

  1. Check your local cameras.xml
  2. Reset raw black/white point module.

It worked just fine, some years ago, when I used that camera … the problem is only seen when I re-work that older material.

Does it work if you press reset? Do you have the same things written in your local cameras.xml?