All pastes #343488 Raw Edit

Someone

public text v1 · immutable
·published 2007-02-07 02:00 UTC
rendered paste body
	copy_from_user(result,str,strlen(str)) 
	ret = printk("%s", result);

	/*no null terminator character*/
	if (result[strlen(str)] != '\0')
	{
	  if(strlen(result) < 25)
	  {
	    strcat(result,"\0");
	  }
	}