Austin Group Defect Tracker

Aardvark Mark III

Viewing Issue Simple Details Jump to Notes ] Issue History ] Print ]
ID Category Severity Type Date Submitted Last Update
0001163 [1003.1(2016)/Issue7+TC2] System Interfaces Editorial Error 2017-09-26 08:51 2017-09-26 09:40
Reporter Konrad_Schwarz View Status public  
Assigned To
Priority normal Resolution Open  
Status New  
Name Konrad Schwarz
Organization Siemens AG
User Reference
Section fscanf
Page Number (page or range of pages)
Line Number (Line or range of lines)
Interp Status ---
Final Accepted Text
Summary 0001163: fscanf omits carriage in the list of white space character directives
Description fscanf lists the white space characters it skips when encountering a blank:

Each directive is composed of one of the following: one or more white-space characters ( <space>, <tab>, <newline>, <vertical-tab>, or <form-feed>);

This list does not include carriage-return. I think this is an omission.

The equivalent text in ISO/IEC 9899:2011 (E) (C9x) is

The format is composed of zero or more directives: one or more white-space

Desired Action Add carriage-return to the list of white-space characters.

It is not clear to me if this list is locale-dependent -- making
this locale-dependent would allow the meaning of format strings to
be manipulated externally, which conceivably may pose a security risk.
Tags No tags attached.
Attached Files

- Relationships

-  Notes
geoffclare (manager)
2017-09-26 09:40

The fwscanf page has the same problem.

- Issue History
Date Modified Username Field Change
2017-09-26 08:51 Konrad_Schwarz New Issue
2017-09-26 08:51 Konrad_Schwarz Name => Konrad Schwarz
2017-09-26 08:51 Konrad_Schwarz Organization => Siemens AG
2017-09-26 08:51 Konrad_Schwarz Section => fscanf
2017-09-26 08:51 Konrad_Schwarz Page Number => (page or range of pages)
2017-09-26 08:51 Konrad_Schwarz Line Number => (Line or range of lines)
2017-09-26 09:40 geoffclare Note Added: 0003855

Mantis 1.1.6[^]
Copyright © 2000 - 2008 Mantis Group
Powered by Mantis Bugtracker