func: void dynamic_buffer_underrun_034() char * srcbuf = "Test Code" ; int i , loc = 1 ; char * destbuf = ( char * ) malloc ( 10 * sizeof ( char ) ) ; char ch = 'o' ; if ( destbuf != NULL )  for(i=0;i<strlen(srcbuf);i++) if ( srcbuf [ i ] == ch )  loc = i; strncpy ( & destbuf [ loc ] , & srcbuf [ loc ] , 1 ); 