/mandos/release

To get this branch, use:
bzr branch http://bzr.recompile.se/loggerhead/mandos/release

« back to all changes in this revision

Viewing changes to intro.xml

  • Committer: Teddy Hogeborn
  • Date: 2016-02-21 12:55:39 UTC
  • mto: (237.7.594 trunk)
  • mto: This revision was merged to the branch mainline in revision 331.
  • Revision ID: teddy@recompile.se-20160221125539-wi1n8ci0ldbdxrar
plugins.d/mandos-client.c (get_flags): Use strncpy(), not strcpy().

* plugins.d/mandos-client.c (get_flags): Use strncpy() instead of
  strcpy().  Note that as the code works currently, this is never a
  problem in practice, since only interface names which were valid
  existing interface names (and therefore had names with lengths below
  IF_NAMESIZE) is ever passed to the get_flags() function.  But it
  doesn't hurt to check, anyway.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
<?xml version="1.0" encoding="UTF-8"?>
2
2
<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
3
3
"http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
4
 
<!ENTITY TIMESTAMP "2017-02-23">
 
4
<!ENTITY TIMESTAMP "2015-07-20">
5
5
<!ENTITY % common SYSTEM "common.ent">
6
6
%common;
7
7
]>
35
35
      <year>2013</year>
36
36
      <year>2014</year>
37
37
      <year>2015</year>
38
 
      <year>2016</year>
39
 
      <year>2017</year>
40
38
      <holder>Teddy Hogeborn</holder>
41
39
      <holder>Björn Påhlsson</holder>
42
40
    </copyright>
78
76
  <refsect1 id="introduction">
79
77
    <title>INTRODUCTION</title>
80
78
    <para>
81
 
      <!-- This paragraph is a combination and paraphrase of two
82
 
           quotes from the 1995 movie “The Usual Suspects”. -->
83
79
      You know how it is.  You’ve heard of it happening.  The Man
84
80
      comes and takes away your servers, your friends’ servers, the
85
81
      servers of everybody in the same hosting facility. The servers
382
378
    </para>
383
379
  </refsect1>
384
380
  
385
 
  <refsect1 id="bugs">
386
 
    <title>BUGS</title>
387
 
    <xi:include href="bugs.xml"/>
388
 
  </refsect1>
389
 
  
390
381
  <refsect1 id="see_also">
391
382
    <title>SEE ALSO</title>
392
383
    <para>
420
411
    <variablelist>
421
412
      <varlistentry>
422
413
        <term>
423
 
          <ulink url="https://www.recompile.se/mandos">Mandos</ulink>
 
414
          <ulink url="http://www.recompile.se/mandos">Mandos</ulink>
424
415
        </term>
425
416
        <listitem>
426
417
          <para>