欢迎来到麦多课文档分享! | 帮助中心 海量文档,免费浏览,给你所需,享你所想!
麦多课文档分享
全部分类
  • 标准规范>
  • 教学课件>
  • 考试资料>
  • 办公文档>
  • 学术论文>
  • 行业资料>
  • 易语言源码>
  • ImageVerifierCode 换一换
    首页 麦多课文档分享 > 资源分类 > PDF文档下载
    分享到微信 分享到微博 分享到QQ空间

    ISO IEC TS 17961 CORR 1-2016 Information technology - Programming languages their environments and system software interfaces - C secure coding rules Technical .pdf

    • 资源ID:1257456       资源大小:511KB        全文页数:3页
    • 资源格式: PDF        下载积分:10000积分
    快捷下载 游客一键下载
    账号登录下载
    微信登录下载
    二维码
    微信扫一扫登录
    下载资源需要10000积分(如需开发票,请勿充值!)
    邮箱/手机:
    温馨提示:
    如需开发票,请勿充值!快捷下载时,用户名和密码都是您填写的邮箱或者手机号,方便查询和重复下载(系统自动生成)。
    如需开发票,请勿充值!如填写123,账号就是123,密码也是123。
    支付方式: 支付宝扫码支付    微信扫码支付   
    验证码:   换一换

    加入VIP,交流精品资源
     
    账号:
    密码:
    验证码:   换一换
      忘记密码?
        
    友情提示
    2、PDF文件下载后,可能会被浏览器默认打开,此种情况可以点击浏览器菜单,保存网页到桌面,就可以正常下载了。
    3、本站不支持迅雷下载,请使用电脑自带的IE浏览器,或者360浏览器、谷歌浏览器下载即可。
    4、本站资源下载后的文档和图纸-无水印,预览文档经过压缩,下载后原文更清晰。
    5、试题试卷类文档,如果标题没有明确说明有答案则都视为没有答案,请知晓。

    ISO IEC TS 17961 CORR 1-2016 Information technology - Programming languages their environments and system software interfaces - C secure coding rules Technical .pdf

    1、 TECHNICAL SPECIFICATION ISO/IEC TS 17961:2013 TECHNICAL CORRIGENDUM 1 Published 2016-08-15 INTERNATIONAL ORGANIZATION FOR STANDARDIZATION ORGANISATION INTERNATIONALE DE NORMALISATION INTERNATIONAL ELECTROTECHNICAL COMMISSION COMMISSION LECTROTECHNIQUE INTERNATIONALEInformation technology Programmin

    2、g languages, their environments and system software interfaces C secure coding rules TECHNICAL CORRIGENDUM 1 Technologies de linformation Langages de programmation, leur environnement et interfaces des logiciels de systmes Rgles de programmation scurise en C RECTIFICATIF TECHNIQUE 1 Technical Corrig

    3、endum 1 to ISO/IEC TS 17961:2013 was prepared by Joint Technical Committee ISO/IEC JTC 1, Information technology, Subcommittee SC 22, Programming languages, their environments and system software interfaces. ICS 35.060 Ref. No. ISO/IEC TS 17961:2013/Cor.1:2016(E) ISO/IEC 2016 All rights reserved Pub

    4、lished in Switzerland ISO/IEC TS 17961:2013/Cor.1:2016(E) 2 ISO/IEC 2016 All rights reserved In rule 5.21, Rule section, replace with A call to a standard memory allocation function taking a size integer argument n and presumed to be intended for type T * shall be diagnosed when n sizeof(T) . A call

    5、 to a standard memory allocation function taking a size integer argument n and presumed to be intended for type T * shall be regarded as an array of N elements, where N = n / sizeof(T) . Any allocation where N = 0 shall be diagnosed (i.e. where n sizeof(T). Also, any attempt to use this array in a m

    6、anner that causes its array bound to be violated shall be diagnosed. In rule 5.21, replace EXAMPLE In this noncompliant example, a diagnostic is required because the value of n that is used in the malloc() call has been possibly miscalculated. wchar_t *f1(void) const wchar_t *p = L“Hello, World!“; c

    7、onst size_t n = sizeof(p) * (wcslen(p) + 1); wchar_t *q = (wchar_t *)malloc(n); / diagnostic required /* . */ return q; with EXAMPLE 1 struct S1 unsigned int x; float y; struct S1 *z; ; struct S1 *f1(void) struct S1 *p = (struct S1*)malloc(sizeof(p); / diagnostic required return p; ISO/IEC TS 17961:2013/Cor.1:2016(E) ISO/IEC 2016 All rights reserved 3 EXAMPLE 2 wchar_t *f2(void) const wchar_t *p = L“Hello, World!“; const size_t n = (wcslen(p) + 1); wchar_t *q = (wchar_t *)malloc(n); wcscpy(q, p); / diagnostic required return q;


    注意事项

    本文(ISO IEC TS 17961 CORR 1-2016 Information technology - Programming languages their environments and system software interfaces - C secure coding rules Technical .pdf)为本站会员(ideacase155)主动上传,麦多课文档分享仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对上载内容本身不做任何修改或编辑。 若此文所含内容侵犯了您的版权或隐私,请立即通知麦多课文档分享(点击联系客服),我们立即给予删除!




    关于我们 - 网站声明 - 网站地图 - 资源地图 - 友情链接 - 网站客服 - 联系我们

    copyright@ 2008-2019 麦多课文库(www.mydoc123.com)网站版权所有
    备案/许可证编号:苏ICP备17064731号-1 

    收起
    展开