On Wed, Jun 7, 2017, at 12:29 PM, O. Hartmann wrote: > Am Wed, 7 Jun 2017 19:22:34 +0200 > Matthias Apitz <guru_at_unixarea.de> schrieb: > > > El día miércoles, junio 07, 2017 a las 02:35:31p. m. +0200, Matthias Apitz escribió: > > > > > I have located the bug in /usr/src/contrib/smbfs/lib/smb/subr.c > > > > > > The printf(3C) calls have been added for debugging; the bug is the > > > addition of 13 after crypting every char which let the mask used in ^ operation > > > exceeding 256, i.e. more than one byte, if the string to be crypted is long > > > enough. The two lines added: > > > > > > if (pos > 256) > > > pos = pos-256; > > > > > > fixes this issue and the crypting/decypting works fine; see below; > > > > > > I'll later file a PR and propose the patch; > > > > The PR was already made in 2009: > > https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=132302 has a patch attached (nearly > > the same solution as I have found), but was never ci'ed :-( > > > > matthias > > > > > > Wow ... that is, simply ... not very good! :-( > > High quality! > > -- > O. Hartmann > > Ich widerspreche der Nutzung oder Übermittlung meiner Daten für > Werbezwecke oder für die Markt- oder Meinungsforschung (§ 28 Abs. 4 > BDSG). > Email had 1 attachment: > + Attachment2 > 1k (application/pgp-signature) I've taken the bug and am testing it now. Should have it committed by this evening. With some luck we can get it in to 11.1 -- Thanks, Josh PaetzelReceived on Wed Jun 07 2017 - 17:12:51 UTC
This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:41:12 UTC