[sane-devel] Schedule for release of sane-backends 1.0.22
nicolas0martin at gmail.com
Fri Jan 7 20:18:49 UTC 2011
Thanks Dustin for your feedback.
The issue of memmove vs memcpy appears in the last phase of image
processing, to reduce the scanned line width, in order to get an exact
scanned area width, and get rid of the Pixma modulo 32 line width.
Il this case, the cropped line is copied above the scanned line, that
explains the overlap situation, but the cropped line is always smaller,
so no risk of buffer overflow.
When the width is an exact multiple of 32, the cropped and original
lines are exactly identical.
What is weird here, is that the effect of overlap in memcpy does not
seem to produce the same effect on different systems !
Looks some systems have memcpy to copy correctly above the original
line, but not others.
Anyway, the memmove here handles correctly the overlap situation, so
this issue should be solved now.
Le vendredi 07 janvier 2011 à 00:46 -0500, Dustin DeWeese a écrit :
> After pulling commit e72c0f548eebfae0171ab8a2e2a74174c1bd96ae, the pixma
> backend works correctly with my MX850; there is no corruption, even on
> widths indivisible by 32.
> - Dustin DeWeese
> On 01/06/2011 04:19 PM, Nicolas Martin wrote:
> > AFAIK, I've currently only heard about this pending issue for the pixma
> > backend, reported by Dustin DeWeese:
> > https://alioth.debian.org/tracker/?func=detail&atid=410366&aid=312874&group_id=30186
> > Maybe Dustin could give us more info about his current test status,
> > using the latest git ?
> > Nicolas
> > Le jeudi 06 janvier 2011 à 21:03 +0100, Tomas Pospisek a écrit :
> >> On Wed, 5 Jan 2011, Julien BLACHE wrote:
> >>> "m. allan noah"<kitno455 at gmail.com> wrote:
> >>> I also have a report for the AV120 (#548731).
> >>>> I've not heard from Nicholas.
> >>> The pixma fix is still in work, IIRC we should hear back from Gernot in
> >>> the coming weeks.
> >> I think Gernot has confirmed that the one-line fix does fix the machines
> >> he has access to. It does also fix my own pixma mp600. We do not know
> >> though about generation 1 machines.
> >> Aren't we waiting for Nicholas' word on the issue?
> >> *t
> >> --
> >> sane-devel mailing list: sane-devel at lists.alioth.debian.org
> >> http://lists.alioth.debian.org/mailman/listinfo/sane-devel
> >> Unsubscribe: Send mail with subject "unsubscribe your_password"
> >> to sane-devel-request at lists.alioth.debian.org
More information about the sane-devel