mirror of
				https://github.com/DigitalDevices/dddvb.git
				synced 2025-03-01 10:35:23 +00:00 
			
		
		
		
	return EINVAL if input NULL (e.g. in case of mod devices)
This commit is contained in:
		| @@ -857,6 +857,8 @@ static ssize_t ts_read(struct file *file, __user char *buf, | ||||
|  | ||||
| 	if (!dev->has_dma) | ||||
| 		return -EINVAL; | ||||
| 	if (!input) | ||||
| 		return -EINVAL; | ||||
| 	while (left) { | ||||
| 		if (ddb_input_avail(input) < 188) { | ||||
| 			if (file->f_flags & O_NONBLOCK) | ||||
|   | ||||
		Reference in New Issue
	
	Block a user