Opened 10 years ago

Last modified 9 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: Analyzed by developer:


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@… 10 years ago.
fix for isspace(3) calls

Download all attachments as: .zip

Change History (2)

Changed 10 years ago by vle@…

fix for isspace(3) calls

comment:1 Changed 9 years ago by compn

  • Summary changed from unsafe use of isspace(3) to PATCH: unsafe use of isspace(3)

adding patch to bug title...

Note: See TracTickets for help on using tickets.