中文
Sign in
AI tools
聊天
热门问题
时间线
Loading AI tools
全部
文章
字典
引用
地图
null-terminated string
来自维基百科,自由的百科全书
Found in articles
C语言字符串处理
維基教科書中的相關電子教程:Strings C語言字串語法(英语:C syntax#Strings) for source code syntax, including backslash escape sequences. 字串函數(英语:
String
functions)
Null
-
terminated
string
缓冲区过读
任意位置的数据,并且不会自动检查读取该内存块的数据是否安全;对应的例子如试图读取比数组更多的元素,以及没有向空终止字符串(英语:
null
-
terminated
string
)末尾追加终止符。边界检查可以防止缓冲区过读,而模糊测试有助于检测出这些错误。 缓冲区溢出 计算机安全 型別安全 CWE – CWE-126:
空字符
and including the first
null
character" — ANSI/ISO 9899:1990 (the ANSI C standard), section 7.1.1 "A
null
-
terminated
byte
string
, or NTBS, is a character
格式化字符串
格式化字符串(英語:format
string
)是一些程序设计语言的输入/输出库中能將字符串参数轉換為另一種形式輸出的函数。例如C、C++等程序设计语言的printf类函数,其中的转换说明(conversion specification)用于把随后对应的0个或多个函数参数转换为相应的格式输出;格式