linux-hotplug.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Frank Mori Hess <fmhess@users.sourceforge.net>
To: linux-hotplug@vger.kernel.org
Subject: [PATCH] fxload fix
Date: Tue, 19 Oct 2004 00:03:56 +0000	[thread overview]
Message-ID: <200410182003.56103.fmhess@users.sourceforge.net> (raw)

[-- Attachment #1: Type: text/plain, Size: 411 bytes --]

--Boundary-00=_b+ybBv0OXckQSSY
Content-Type: text/plain;
  charset="us-ascii"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

Hi,

I've got a one-line patch attached for fxload.  Without it, it chokes on 
Intel hex image files, unless you add a garbage character to the end of 
every line.  I suppose using DOS instead of UNIX end of line characters in 
the firmware file would also avoid the bug.

[-- Attachment #2: Type: text/plain, Size: 293 bytes --]

Hi,

Is fxload unmaintained?  There haven't been any commits in 2 years, and I'm 
noticing a bug report from 3 months ago here

http://sourceforge.net/tracker/index.php?func=detail&aid=994005&group_id=17679&atid=117679

that fixes the same problem I reported last week (patch attached again).

[-- Attachment #3: ezusb_diff --]
[-- Type: text/x-diff, Size: 290 bytes --]

--- ezusb.c	2004-10-14 21:39:41.000000000 -0400
+++ ezusb-fixed.c	2004-10-14 21:40:27.000000000 -0400
@@ -361,7 +361,7 @@
 	    return -3;
 	}
 
-	if ((len * 2) + 11 >= strlen(buf)) {
+	if ((len * 2) + 11 > strlen(buf)) {
 	    fprintf (stderr, "record too short?\n");
 	    return -4;
 	}

             reply	other threads:[~2004-10-19  0:03 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-10-19  0:03 Frank Mori Hess [this message]
2004-10-19  0:14 ` [PATCH] fxload fix David Brownell

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200410182003.56103.fmhess@users.sourceforge.net \
    --to=fmhess@users.sourceforge.net \
    --cc=linux-hotplug@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).