Opened 14 years ago

Last modified 14 years ago

#1791 new defect

PATCH: unsafe use of isspace(3)

Reported by: vle@… Owned by: eugeni.stepanov@…
Priority: normal Component: libass
Version: HEAD Severity: normal
Keywords: Cc:
Blocked By: Blocking:
Reproduced by developer: no Analyzed by developer: no

Description

According to POSIX isspace function accepts only value of unsigned char or
a value of EOF constant. Otherwise the behaviour is undefined, and
it is very bad in some libc-s. Patch is in attachment.

Attachments (1)

patch-ah (1.9 KB ) - added by vle@… 14 years ago.
fix for isspace(3) calls

Download all attachments as: .zip

Change History (2)

by vle@…, 14 years ago

Attachment: patch-ah added

fix for isspace(3) calls

comment:1 by compn, 14 years ago

Summary: unsafe use of isspace(3)PATCH: unsafe use of isspace(3)

adding patch to bug title...

Note: See TracTickets for help on using tickets.