Mantis Bugtracker
  

Viewing Issue Simple Details Jump to Notes ] View Advanced ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0003396 [Quercus] minor always 03-18-09 14:09 03-18-09 15:51
Reporter koreth View Status public  
Assigned To nam
Priority normal Resolution fixed  
Status closed   Product Version 4.0.0
Summary 0003396: sscanf %s prints spurious warning on empty string / end-of-string
Description <?php
sscanf("", "%s", $bar);

This works, but prints a warning both to the log and to the browser:

  Env[] 1 vars passed in but saw only 0 '%' args

The same problem happens if %s occurs at the end of a longer format string which consumes all the characters in the string being scanned.
Additional Information
Attached Files

- Relationships

- Notes
(0003898)
nam
03-18-09 15:51

php/113o
 

- Issue History
Date Modified Username Field Change
03-18-09 14:09 koreth New Issue
03-18-09 15:51 nam Status new => assigned
03-18-09 15:51 nam Assigned To  => nam
03-18-09 15:51 nam Status assigned => closed
03-18-09 15:51 nam Note Added: 0003898
03-18-09 15:51 nam Resolution open => fixed
03-18-09 15:51 nam Fixed in Version  => 4.0.0


Mantis 1.0.0rc3[^]
Copyright © 2000 - 2005 Mantis Group
29 total queries executed.
26 unique queries executed.
Powered by Mantis Bugtracker