Opened 18 years ago

Closed 18 years ago

Last modified 18 years ago

#600 closed defect (fixed)

Mistake in work of code conversion of subtitles (function iconv) because of the small size of the buffer!

Reported by: vorontsovv@… Owned by: reimar
Priority: normal Component: core
Version: 1.0pre8 Severity: normal
Keywords: Cc:
Blocked By: Blocking:
Reproduced by developer: no Analyzed by developer: no

Description

In a file subreader.c in function subcp_recode there is a call iconv in which
as the accepting buffer the global file icbuffer which size acts sets constant
ICBUFFSIZE=512.

A mistake in that that such size buffer is too small! At transformation in
utf-8 Russian subtitles, the text in 2 times is longer, increase buffer up to
4000!

Change History (1)

comment:1 by reimar, 18 years ago

Resolution: fixed
Status: newclosed

Should be fixed in latest SVN (r20298).

Note: See TracTickets for help on using tickets.