Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 261320
Collapse All | Expand All

(-)src/modules/linux/linux-urandom.c (-1 / +1 lines)
Lines 59-65 Link Here
59
59
60
	int from_fd = open(from, O_RDONLY);
60
	int from_fd = open(from, O_RDONLY);
61
	if (from_fd) {
61
	if (from_fd) {
62
		int to_fd = open(to, O_WRONLY | O_CREAT);
62
		int to_fd = open(to, O_WRONLY | O_CREAT, 0644);
63
		if (to_fd) {
63
		if (to_fd) {
64
			char buffer[s];
64
			char buffer[s];
65
                        memset (buffer, 0, s);
65
                        memset (buffer, 0, s);

Return to bug 261320