Cookies on CSA Group

We use Cookies to create a secure and effective website experience for our customers. For more information about Cookies and how you can disable Cookies, visit our privacy policy page. Learn More

logo close
Privacy Preference Centre

Please manage your cookie choices by switching the consent toggles on or off under the Purposes below.

You may change your preference at any time as described in our Cookie Policy

  • Cookie Settings
  • List of Cookies
close
    Skip to content
    CSA Store
    • CSA Group
    • CSA OnDemand™
    • CSA Communities
    • Contact Us
    • Catalogue
      • Browse By Subject Area

        • Electrical
        • Fuels & Transportation
        • Petroleum & Natural Gas
        • Environment & Natural Resources
        • Construction & Infrastructure
        • Mechanical & Industrial Equipment
        • Nuclear
        • Health Care and Well-being
        • Worker & Public Safety
        • Management Systems
      • Browse By Publisher

        • ASME
        • ASTM
        • CSA Group
        • ESA
        • IEC
        • ISO
        • NRC
        • ORNAC
        • TSSA
      • ICS Catalogue

        • Browse by International Classification of Standards (ICS Codes)
    • Subscription
      • Browse By Subject Area

        • Electrical
        • Fuels & Transportation
        • Petroleum & Natural Gas
        • Environment & Natural Resources
        • Construction & Infrastructure
        • Mechanical & Industrial Equipment
        • Nuclear
        • Health Care and Well-being
        • Worker & Public Safety
        • Management Systems
      • CSA Subscriptions

        • Why choose subscriptions?
        • About CSA Advantage™
        • About CSA OnDemand™
        • CSA OnDemand™ Collections
      • ICS Catalogue

        • Browse by International Classification of Standards (ICS Codes)
    • Services
    Cart Icon0
    ×
    Login / Register
    English / CAD

    Language

    en

    fr

    Currency

    CAD

    USD

    • CSA Group
    • CSA OnDemand™
    • CSA Communities
    • Contact Us
    Wishlist

    Catalogue

    • Browse By Subject Area

      • Electrical
      • Fuels & Transportation
      • Petroleum & Natural Gas
      • Environment & Natural Resources
      • Construction & Infrastructure
      • Mechanical & Industrial Equipment
      • Nuclear
      • Health Care and Well-being
      • Worker & Public Safety
      • Management Systems
    • Browse By Publisher

      • ASME
      • ASTM
      • CSA Group
      • ESA
      • IEC
      • ISO
      • NRC
      • ORNAC
      • TSSA
    • ICS Catalogue

      • Browse by International Classification of Standards (ICS Codes)

    Subscription

    • Browse By Subject Area

      • Electrical
      • Fuels & Transportation
      • Petroleum & Natural Gas
      • Environment & Natural Resources
      • Construction & Infrastructure
      • Mechanical & Industrial Equipment
      • Nuclear
      • Health Care and Well-being
      • Worker & Public Safety
      • Management Systems
    • CSA Subscriptions

      • Why choose subscriptions?
      • About CSA Advantage™
      • About CSA OnDemand™
      • CSA OnDemand™ Collections
    • ICS Catalogue

      • Browse by International Classification of Standards (ICS Codes)

    Services

    Menu toggle Icon
    Login / Register
    English / CAD

    Language

    en

    fr

    Currency

    CAD

    USD

    Wishlist Cart (
    )

    Search Section

      • Home
      • CSA Group
      • Electrical
      • Information & Communication Technologies
      • Languages used in IT
      • CAN/CSA-ISO/IEC TS 17961:18

      Codes & Standards - Purchase

      CAN/CSA-ISO/IEC TS 17961:18

      Information technology — Programming languages, their environments and system software interfaces — C secure coding rules (Adopted ISO/IEC TS 17961:2013, first edition, 2013-11-15, including adopted technical corrigendum 1:2016)
      SKU: 2425615 Published by CSA Group Publication Year 2018 104 pages

      Product Details

      • Preface/Scope
      Preface

      Standards development within the Information Technology sector is harmonized with international standards development. Through the CSA Technical Committee on Information Technology (TCIT), Canadians serve as the SCC Mirror Committee (SMC) on ISO/IEC Joint Technical Committee 1 on Information Technology (ISO/IEC JTC1) for the Standards Council of Canada (SCC), the ISO member body for Canada and sponsor of the Canadian National Committee of the IEC. Also, as a member of the International Telecommunication Union (ITU), Canada participates in the International Telegraph and Telephone Consultative Committee (ITU-T). 

      Scope

      This Technical Specification specifies 
       
      • rules for secure coding in the C programming language and 
      • code examples. 

      This Technical Specification does not specify 
       
      • the mechanism by which these rules are enforced or 
      • any particular coding style to be enforced. (It has been impossible to develop a consensus on appropriate style guidelines. Programmers should define style guidelines and apply these guidelines consistently. The easiest way to consistently apply a coding style is with the use of a code formatting tool. Many interactive development environments provide such capabilities.) 

      Each rule in this Technical Specification is accompanied by code examples. Code examples are informative only and serve to clarify the requirements outlined in the normative portion of the rule. Examples impose no normative requirements. 

      Each rule in this Technical Specification that is based on undefined behavior defined in the C Standard identifies the undefined behavior by a numeric code. The numeric codes for undefined behaviors can be found in Annex B, Undefined Behavior. 

      Two distinct kinds of examples are provided: 
       
      • noncompliant examples demonstrating language constructs that have weaknesses with potentially exploitable security implications; such examples are expected to elicit a diagnostic from a conforming analyzer for the affected language construct; and 
      • compliant examples are expected not to elicit a diagnostic. 

      Examples are not intended to be complete programs. For brevity, they typically omit #include directives of C Standard Library headers that would otherwise be necessary to provide declarations of referenced symbols. Code examples may also declare symbols without providing their definitions if the definitions are not essential for demonstrating a specific weakness. 

      Some rules in this Technical Specification have exceptions. Exceptions are part of the specification of these rules and are normative.
       
      copyright imgRequest Copyright Permissions

      Buy

      Language

      Radio input

      Format

      Radio input
      • Free updates to the latest version
      • Access historical versions
      • Access all supported languages
      Learn More
      • FAQs
      • Contact Us
      • Email Product

      GST REG No R119441681
      QST REG No R1006017360

      Compare Formats

      Determine the subscription format that is right for you.

      Select the subscription format that is right for you. Table with 13 rows and 3 columns, identifies features available and not available for the two different subscription formats - CSA Advantage TM and CSA OnDemand TM
      Features CSA AdvantageTM CSA OnDemandTM
      Offline access CSA AdvantageTM. feature available. Offline access CSA OnDemandTM. feature available. Offline access
      Full-text search CSA AdvantageTM. feature available. Full-text search CSA OnDemandTM. feature available. Full-text search
      Create highlights and personal notes CSA AdvantageTM. feature available. Create highlights and personal notes CSA OnDemandTM. feature available. Create highlights and personal notes
      Newest editions added automatically CSA AdvantageTM. feature available. Newest editions added automatically CSA OnDemandTM. feature available. Newest editions added automatically
      Includes all supported languages and archive versions CSA AdvantageTM. feature not available. Includes all supported languages and archive versions CSA OnDemandTM. feature available. Includes all supported languages and archive versions
      My Files - create customized files by adding multiple clauses, tables or figures from the standard into your own personal File for quick reference CSA AdvantageTM. feature available. My Files - create customized files by adding multiple clauses, tables or figures from the standard into your own personal File for quick reference CSA OnDemandTM. feature not available. My Files - create customized files by adding multiple clauses, tables or figures from the standard into your own personal File for quick reference
      Toggle between your files and the full standard to maintain context CSA AdvantageTM. feature available. Toggle between your files and the full standard to maintain context CSA OnDemandTM. feature not available. Toggle between your files and the full standard to maintain context
      Instantly preview cross referenced material within the book CSA AdvantageTM. feature available. Instantly preview cross referenced material within the book CSA OnDemandTM. feature not available. Instantly preview cross referenced material within the book
      Export personal notes to Excel CSA AdvantageTM. feature available. Export personal notes to Excel CSA OnDemandTM. feature not available. Export personal notes to Excel
      Transfer notes and highlights when updates are available CSA AdvantageTM. feature available. Transfer notes and highlights when updates are available CSA OnDemandTM. feature not available. Transfer notes and highlights when updates are available
      Adobe Reader PDF and browser compatible for iOS and Android CSA AdvantageTM. feature not available. Adobe Reader PDF and browser compatible for iOS and Android CSA OnDemandTM. feature available. Adobe Reader PDF and browser compatible for iOS and Android
      Web, Android, iOS Compatible CSA AdvantageTM. feature available. Web, Android, iOS Compatible CSA OnDemandTM. feature not available. Web, Android, iOS Compatible

      Follow Us On Social Media

      Get Our Newsletter

      Get CSA Newsletter

      • About CSA Store
      • Subscription
      • Services
      • Catalogue
      • FAQ
      • Return Policy
      • FULFILLMENT DETAILS
      • EBOOK SUPPORT
      • Product Updates
      • Contact Us
      • CSA GROUP
      • CSA COMMUNITIES
      • CSA Update Service
      • About CSA Store
      • Subscription
      • Services
      • Catalogue
      • FAQ
      • Return Policy
      • FULFILLMENT DETAILS
      • EBOOK SUPPORT
      • Product Updates
      • Contact Us
      • CSA GROUP
      • CSA COMMUNITIES
      • CSA Update Service

      • General Terms and Conditions
      • Privacy Policy
      • Accessibility
      © 2023 Canadian Standards Association. All rights reserved

      Free Login/Registration Required

      View Access for this document is only available for viewers in Canada.

      A free user account is required to view this document.

      Login or Register