Subject: Re: misc/33698: Crunchgen segfault (patch)
To: None <misc-bug-people@netbsd.org, gnats-admin@netbsd.org,>
From: Jaromir Dolecek <jdolecek@NetBSD.org>
List: netbsd-bugs
Date: 06/11/2006 14:45:01
The following reply was made to PR misc/33698; it has been noted by GNATS.
From: Jaromir Dolecek <jdolecek@NetBSD.org>
To: gnats-bugs@NetBSD.org
Cc:
Subject: Re: misc/33698: Crunchgen segfault (patch)
Date: Sun, 11 Jun 2006 14:57:21 +0200
--5mCyUwZo2JvN/JJP
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
On Sun, Jun 11, 2006 at 04:25:00AM +0000, hypnosses@pulltheplug.org wrote:
> Index: crunchgen.c
> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
> RCS file: /cvsroot/src/usr.bin/crunch/crunchgen/crunchgen.c,v
> retrieving revision 1.69
> diff -r1.69 crunchgen.c
> 163,166c163,166
> < case 'm': strcpy(outmkname, optarg); break;
> < case 'c': strcpy(outcfname, optarg); break;
> < case 'e': strcpy(execfname, optarg); break;
> < case 'd': strcpy(dbg, optarg); break;
> ---
> > case 'm': strlcpy(outmkname, optarg, sizeof outmkname); bre=
ak;
> > case 'c': strlcpy(outcfname, optarg, sizeof outcfname); bre=
ak;
> > case 'e': strlcpy(execfname, optarg, sizeof execfname); bre=
ak;
> > case 'd': strlcpy(dbg, optarg, sizeof dbg); break;
Always submit patches in diff -u (unified) format, please. Please
regen the patch in unidified format and post it again.
Jaromir
--=20
Jaromir Dolecek <jdolecek@NetBSD.org> http://www.NetBSD.cz/
-=3D- We can walk our road together if our goals are all the same; -=3D-
-=3D- We can run alone and free if we pursue a different aim. -=3D-
--5mCyUwZo2JvN/JJP
Content-Type: application/pgp-signature
Content-Disposition: inline
-----BEGIN PGP SIGNATURE-----
Version: PGPfreeware 5.0i for non-commercial use
MessageID: Fmt4EwTb3AWeduRpmCBXFsiNc5+wXQrC
iQCVAwUBRIwTMbZjOQfIPRaZAQG8bwP9G/WkQ4JDeHaJG9APp4Oin9q4PPRKAehZ
SCXDz5ixeRVFVwKPl4Ees3GmlLxUzP8IJsG3B6Mn5qmyE4GrAsF9enOg7h5vKmXm
V8qhqmUG3pxl57pvinJ1Y/O+AmRJvDyKJjmX3GAYZVvINFJJwT3kxpDGJ2cMOIvy
RomaopvnULM=
=SFQw
-----END PGP SIGNATURE-----
--5mCyUwZo2JvN/JJP--