[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index][Thread Index][Top&Search][Original]

[perl #57322] ungetc() to :scalar might cause problems



On Sat Jul 26 22:34:45 2008, gfuji@cpan.org wrote:
> This is a bug report for perl from garo@goro.nonet,
> generated with the help of perlbug 1.36 running under perl 5.10.0.
> 
> 
> -----------------------------------------------------------------
> 
> ungetc() to :scalar might cause SEGV. Moreover, :scalar's ungetc()
> always writes the scalar regardless of the SvREADONLY flag and
> the open mode. I think PerlIOScalar_unread() should be removed.
> 
> See the attached files (scalar_ungetc.t and scalar.diff).
> 

Thanks!  This change was applied as change #34773.

Steve Peters


[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index][Thread Index][Top&Search][Original]