Skip to content
Snippets Groups Projects
  1. Jan 06, 2015
  2. Jan 05, 2015
  3. Jan 02, 2015
    • Eelco Dolstra's avatar
      Allow $NIX_PAGER to override $PAGER · 8027083c
      Eelco Dolstra authored
      8027083c
    • aszlig's avatar
      libutil: Limit readLink() error to only overflows. · 8b88d25c
      aszlig authored
      
      Let's not just improve the error message itself, but also the behaviour
      to actually work around the ntfs-3g symlink bug. If the readlink() call
      returns a smaller size than the stat() call, this really isn't a problem
      even if the symlink target really has changed between the calls.
      
      So if stat() reports the size for the absolute path, it's most likely
      that the relative path is smaller and thus it should also work for file
      system bugs as mentioned in 93002d69fc58c2b71e2dfad202139230c630c53a.
      
      Signed-off-by: default avataraszlig <aszlig@redmoonstudios.org>
      Tested-by: default avatarJohn Ericson <Ericson2314@Yahoo.com>
      8b88d25c
    • aszlig's avatar
      libutil: Improve errmsg on readLink size mismatch. · bbd45ac8
      aszlig authored
      
      A message like "error: reading symbolic link `...' : Success" really is
      quite confusing, so let's not indicate "success" but rather point out
      the real issue.
      
      We could also limit the check of this to just check for non-negative
      values, but this would introduce a race condition between stat() and
      readlink() if the link target changes between those two calls, thus
      leading to a buffer overflow vulnerability.
      
      Reported by @Ericson2314 on IRC. Happened due to a possible ntfs-3g bug
      where a relative symlink returned the absolute path (st_)size in stat()
      while readlink() returned the relative size.
      
      Signed-off-by: default avataraszlig <aszlig@redmoonstudios.org>
      Tested-by: default avatarJohn Ericson <Ericson2314@Yahoo.com>
      bbd45ac8
    • Eelco Dolstra's avatar
      edition -> subtitle · 411b237e
      Eelco Dolstra authored
      For some reason, docbook-xsl doesn't render edition.
      411b237e
  4. Dec 29, 2014
  5. Dec 23, 2014
  6. Dec 16, 2014
  7. Dec 15, 2014
  8. Dec 14, 2014
  9. Dec 13, 2014
  10. Dec 12, 2014
Loading