gnupic: Re: [gnupic] Debian Template/Patches for C30 v3.10 i386


Previous by date: 29 Sep 2008 06:55:02 -0000 pk2cmd + pic18f4550, august
Next by date: 29 Sep 2008 06:55:02 -0000 Re: [gnupic] Debian Template/Patches for C30 v3.10 i386, Joseph.Julicher.microchip.com
Previous in thread: 29 Sep 2008 06:55:02 -0000 Re: [gnupic] Debian Template/Patches for C30 v3.10 i386, Xiaofan Chen
Next in thread: 29 Sep 2008 06:55:02 -0000 Re: [gnupic] Debian Template/Patches for C30 v3.10 i386, Joseph.Julicher.microchip.com

Subject: Re: [gnupic] Debian Template/Patches for C30 v3.10 i386
From: "Hiep DOAN" ####@####.####
Date: 29 Sep 2008 06:55:02 -0000
Message-Id: <13c6c0150809282354j4e1e8f09wd7464bd7aa16326@mail.gmail.com>

There are an seg-fault in strcpy().

There are 6 places in the sourcecode they use this function without checking
the string length of the source and destination. We can correct it, but we
should notice Microchip officially before announce to the community.

Thanks.

2008/8/1 Xiaofan Chen ####@####.####

> On Thu, Jun 19, 2008 at 4:17 PM, dennis_amonics ####@####.####
> wrote:
> >
> > Hi Xiaofan and Hiep,
>
> Sorry for the late reply. I only tested this today.
>
> > I am trying to make the .deb files using your modified patches. However,
> > I've found the following problems:
> >
> > 1) When I build the package pic30-binutils_3.10-1_i386.deb, using the
> > download source mplabalc30_v3_10.tar.gz, an unpacking error was
> generated.
> > It turns out there is a missing underscore in the "rule" file:
> > binutils=mplabalc30v3_10. After changing the filename as
> mplabalc30_v3_10,
> > the problem is solved.
>
>
>
> Same here. And the resultant debian package did not work. It caused
> seg-fault.
>
> > 2) Then I continue to build the package pic30-gcc_3.10-1_i386.deb, using
> the
> > download source mplabc30_v3_10.tar.gz, an unpacking error was generated.
> > This time, I cannot determine where the problem is. The error message is
> as
> > follows:
>
> Same error here under Ubuntu 6.06.
>
> I've also received debian package from Hiep Doan. Both caused seg-fault
> under Ubuntu 8.04.
>
> Xiaofan
>



-- 
DOAN Hiep

Vice Director
R&P Trading and Forwarding Co. Ltd.
58/48 Nguyen Minh Hoang - Ward 12 - District Tan Binh
Hochiminh city - 70000 - VIETNAM
Office VN: +84 8 8119870 - Mobile KR: +82 10 2079 1635 - Mobile VN: +84 936
316 326
www.rpc.vn - www.falleaf.net

Previous by date: 29 Sep 2008 06:55:02 -0000 pk2cmd + pic18f4550, august
Next by date: 29 Sep 2008 06:55:02 -0000 Re: [gnupic] Debian Template/Patches for C30 v3.10 i386, Joseph.Julicher.microchip.com
Previous in thread: 29 Sep 2008 06:55:02 -0000 Re: [gnupic] Debian Template/Patches for C30 v3.10 i386, Xiaofan Chen
Next in thread: 29 Sep 2008 06:55:02 -0000 Re: [gnupic] Debian Template/Patches for C30 v3.10 i386, Joseph.Julicher.microchip.com


Powered by ezmlm-browse 0.20.