Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 194356 - glsa-200709-18.xml contains invalid chars
Summary: glsa-200709-18.xml contains invalid chars
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Security
Classification: Unclassified
Component: GLSA Errors (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Security
URL:
Whiteboard:
Keywords:
Depends on: 162493
Blocks:
  Show dependency tree
 
Reported: 2007-10-01 08:59 UTC by boozo
Modified: 2007-10-02 20:21 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description boozo 2007-10-01 08:59:30 UTC
hi,

the glsa-200709-18.xml contains UTF-8 chars, which crashes glsa-check -l 'new'

200709-16 [U] Lighttpd: Buffer overflow ( www-servers/lighttpd )
200709-17 [U] teTeX: Multiple buffer overflows ( app-text/tetex )
Traceback (most recent call last):
  File "/usr/bin/glsa-check", line 206, in ?
    sys.exit(summarylist(glsalist))
  File "/usr/bin/glsa-check", line 172, in summarylist
    myglsa = Glsa(myid, glsaconfig)
  File "/usr/lib/gentoolkit/pym/glsa.py", line 414, in __init__
    self.read()
  File "/usr/lib/gentoolkit/pym/glsa.py", line 432, in read
    self.parse(urllib.urlopen(myurl))
  File "/usr/lib/gentoolkit/pym/glsa.py", line 470, in parse
    self.description = getText(myroot.getElementsByTagName("description")[0], format="xml")
  File "/usr/lib/gentoolkit/pym/glsa.py", line 233, in getText
    return str(rValue)
UnicodeEncodeError: 'ascii' codec can't encode character u'\xe9' in position 544: ordinal not in range(128)

Removing the char "é" in a name in description fixed it for me
(/usr/portage/metadata/glsa/glsa-200709-18.xml
line 40 :
>/usr/sbin/sendmail (CVE-2007-4538), and Frédéric Buclin discovered
bash: syntax error near unexpected token `CVE-2007-4538')

Reproducible: Always

Steps to Reproduce:
1.emerge --sync
2.glsa-check -l 'new'
3.
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2007-10-01 09:11:10 UTC
We *really* should get Bug 162493 fixed.
Comment 2 Pierre-Yves Rofes (RETIRED) gentoo-dev 2007-10-02 20:21:51 UTC
(In reply to comment #1)
> We *really* should get Bug 162493 fixed.
> 

Yeah :/

for the moment I just fixed this glsa.