如果程序传递了无效的指针值,或者如果缓冲区的长度太小会发生此错误。
This error occurs if a program passes an invalid pointer value or if the length of the buffer is too small.
如果参数为NULL,则openssl会将字符串写入到一个长度为256字节的静态缓冲区中,并返回指向该缓冲区的指针。
If this parameter is NULL, OpenSSL writes the string to a static buffer that is 256 bytes in length, and returns a pointer to that buffer.
dxferp:指向数据传输时长度至少为dxfer_len字节的用户内存的指针。
Dxferp: a pointer to user memory of at least dxfer_len bytes in length for data transfer.
应该在Handlder 程序OPEN例程中完成的第一件事是设置IOInformationFeedback数据结构的指针和长度。
The first thing that should be done in the handler OPEN routine is to set the pointers and lengths of the IO Information Feedback data structures.
根据调用之后该结构中填充的套接字地址的长度,可以对这个指针进行移动。
The pointer should be moved adequately depending on the length of socket address as populated in the structure after the call.
该函数接受一个指向用户空间缓冲区的指针、一个指向内存缓冲区的指针、以及一个以字节定义的长度。
This function accepts a pointer to a user space buffer, a pointer to a kernel buffer, and a length defined in bytes.
二次出现的字符串由一个指向前一字符串的指针(以对的形式——距离和长度)代替。
The second occurrence of a string is replaced by a pointer (in the form of a pair — distance and length) to the previous string.
(指针光束长度):在停止前光束投射的距离。
Pointer Length: the distance the beam will project before stopping.
如果指针是合法的,在这个字符串起始的前面4个字节中有这个字符串的长度。
If the pointer is valid the length of the string is found at the 4 bytes preceding the start of the string.
打开阅读和写作,放置在文件的开头文件指针并截断该文件的长度为零。
Open for reading and writing; place the file pointer at the beginning of the file and truncate the file to zero length.
打开只写;放置在该文件的开头文件指针并截断该文件的长度为零。
Open for writing only; place the file pointer at the beginning of the file and truncate the file to zero length.
我们为什么不用指针零长度数组?
数组变量保存指向数组对象的指针,而数组对象保存的是数组元素、秩和长度信息。
An array variable holds a pointer to an array object, which holds the array elements and the rank and length information.
有可能的原因是一个空指针,长度无效,无效的选项,用户的反应等。
Possible reasons may be a null pointer, invalid length, invalid option, etc.
用new动态创建长度为0的数组时,new返回有效的非零指针。
When we use new to allocate an array of zero size, new returns a valid, nonzero pointer.
数组变量持有一个指针,它指向构成数组元素的数据及秩和长度信息,赋值语句仅复制此指针。
An array variable holds a pointer to the data constituting the array elements and the rank and length information, and an assignment copies only this pointer.
数组变量持有一个指针,它指向构成数组元素的数据及秩和长度信息,赋值语句仅复制此指针。
An array variable holds a pointer to the data constituting the array elements and the rank and length information, and an assignment copies only this pointer.
应用推荐