Bug#382578: cdrecord: possible file I/O operation without error checking

2006-08-12 Thread Joerg Schilling
Your report is not really useful as it does not mention what hapens.
For a real bug report, you need to report the problem in a tracable way:

http://cdrecord.berlios.de/old/private/problems.html


Trying to guess what you may want so say.

If your problem is that there is an error condition without an error,
file a bug report against the fread(3) implementation on your OS.

fread() is not allowed to set the ferror() condition in case that there 
is no read error.

Jörg

-- 
 EMail:[EMAIL PROTECTED] (home) Jörg Schilling D-13353 Berlin
   [EMAIL PROTECTED](uni)  
   [EMAIL PROTECTED] (work) Blog: http://schily.blogspot.com/
 URL:  http://cdrecord.berlios.de/old/private/ ftp://ftp.berlios.de/pub/schily



Bug#382578: cdrecord: possible file I/O operation without error checking

2006-08-11 Thread Lars Wirzenius
Package: cdrecord
Version: 2.01+01a03-5
Severity: minor

In cdrecord/cdtext.c, line 173, the call to fileread may return an error
code, which the caller does not check. Also, the value of n is just
discarded (see the for loop three lines later).

Or that's what it looks like to me; I haven't studied the code to see if
it is an actual problem, sorry.

-- 
C is the *wrong* language for your application.



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]