All of lore.kernel.org
 help / color / mirror / Atom feed
diff for duplicates of <20110929061048.GC4104@elgon.mountain>

diff --git a/a/1.txt b/N1/1.txt
index 7e83fed..930f62f 100644
--- a/a/1.txt
+++ b/N1/1.txt
@@ -12,7 +12,7 @@ index 48cda6c..8021c85 100644
 +++ b/sound/oss/sound_timer.c
 @@ -320,7 +320,7 @@ void  sound_timer_init(struct sound_lowlev_timer *t, char *name)
  	n = sound_alloc_timerdev();
- 	if (n == -1)
+ 	if (n = -1)
  		n = 0;		/* Overwrite the system timer */
 -	strcpy(sound_timer.info.name, name);
 +	strlcpy(sound_timer.info.name, name, sizeof(sound_timer.info.name));
diff --git a/a/content_digest b/N1/content_digest
index b9466bd..0255cad 100644
--- a/a/content_digest
+++ b/N1/content_digest
@@ -1,6 +1,6 @@
  "From\0Dan Carpenter <dan.carpenter@oracle.com>\0"
  "Subject\0[patch] sound: oss: use strlcpy() in sound_timer_init()\0"
- "Date\0Thu, 29 Sep 2011 09:10:48 +0300\0"
+ "Date\0Thu, 29 Sep 2011 06:10:48 +0000\0"
  "To\0Jaroslav Kysela <perex@perex.cz>\0"
  "Cc\0Takashi Iwai <tiwai@suse.de>"
   alsa-devel@alsa-project.org
@@ -21,7 +21,7 @@
  "+++ b/sound/oss/sound_timer.c\n"
  "@@ -320,7 +320,7 @@ void  sound_timer_init(struct sound_lowlev_timer *t, char *name)\n"
  " \tn = sound_alloc_timerdev();\n"
- " \tif (n == -1)\n"
+ " \tif (n = -1)\n"
  " \t\tn = 0;\t\t/* Overwrite the system timer */\n"
  "-\tstrcpy(sound_timer.info.name, name);\n"
  "+\tstrlcpy(sound_timer.info.name, name, sizeof(sound_timer.info.name));\n"
@@ -29,4 +29,4 @@
  " }\n"
   EXPORT_SYMBOL(sound_timer_init);
 
-b5932c6526ae01d9662df5bc24a25170b51b03901df6b13408f6d7db31617eea
+dbfa6d123cbf2689e62943563beeb7ffe14d48c471ecae5666aa92e660c771dd

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.