Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Date: Sun, 12 May 2013 23:35:51 +0200
From: magnum <john.magnum@...hmail.com>
To: john-dev@...ts.openwall.com
Subject: Re: strncmp with n==1

On 12 May, 2013, at 23:21 , Alexander Cherepanov <cherepan@...me.ru> wrote:
> Let's get rid of strncmp with n==1. This could be done with the following command:
> 
> perl -i -pe "s/strncmp\((\w+), \"(.)\", 1\) != 0/*\$1 != '\$2'/" *.c
> 
> which leads to the attached patch.
> 
> -- 
> Alexander Cherepanov
> <0001-Get-rid-of-strncmp-with-n-1.patch>

I'd like to avoid messing with unstable except for bug fixes. Please post further stuff against bleeding.

I ran the above command in bleeding though, and produced a patch. Thanks!

magnum

Powered by blists - more mailing lists

Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.