On Mon, Jul 31, 2006 at 10:46:56AM +0300, Dan Kenigsberg wrote:
> I have a vague memory that bidiv 1.4 had a buffer overflow bug. Which version
> are you using? Do you have a specific doc where you reproduce the error? Could
> you share it with us? What is your locale?
>
> On Mon, Jul 31, 2006 at 07:41:02AM +0300, Avraham Rosenberg wrote:
> > Hi,
> > I use the following script to read simple Hebrew doc documents:
> > #!/bin/sh
> > /usr/bin/antiword -w 70 $2 -m 8859-8.txt $1 | /usr/bin/bidiv -j -w 70 |
> > sed 's/[ ][ ]*$//' | sed -e :a -e 's/^.\{1,69\}$/ &/;ta'
> >
> > Lately (maybe this has to do with the move to a 64-bit system) I
> > get the following error message (usually after the job is
> > properly done):
> > *** glibc detected *** free(): invalid next size (fast): 0x00000000005024a0
> > ***
> >
> > ....Thanks, Avraham
>
> --
> Dan Kenigsberg http://www.cs.technion.ac.il/~danken ICQ
> 162180901
Hi Dan,
Thanks for the answer
1-I am using version 1.4-4. According to the Changelog, it was
built against fribidi 0.10.4-6 by Baruch Even on 28.10.2004.
2-My locale is C
3-I attach the shortest doc I was able to find on my machine
4-The following modification of the script does not elicit any
protests, and the output is the correct one:
#!/bin/sh
/usr/bin/antiword -w 70 $2 -m 8859-8.txt $1 | /usr/bin/bidiv -j -w 140 | sed
's/[ ][ ]*$//' | sed -e :a -e 's/^.\{1,69\}$/ &/;ta'
(same remark about the first sed command)
5 My font is heb24-etl.pcf.gz
-etl-fixed-medium-r-normal--24-240-72-72-c-120-iso8859-8
Cheers, Avraham
-- Binary/unsupported file stripped by Listar --
-- Type: application/msword
=================================================================
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]