Browse Source

Add XXX to a comment.

OPENBSD_6_6
rob 5 years ago
parent
commit
509ea037e6
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      src/lib/libutil/ber.c

+ 2
- 2
src/lib/libutil/ber.c View File

@ -1,4 +1,4 @@
/* $OpenBSD: ber.c,v 1.6 2019/05/12 20:25:10 rob Exp $ */
/* $OpenBSD: ber.c,v 1.7 2019/05/16 21:12:33 rob Exp $ */
/* /*
* Copyright (c) 2007, 2012 Reyk Floeter <reyk@openbsd.org> * Copyright (c) 2007, 2012 Reyk Floeter <reyk@openbsd.org>
@ -293,7 +293,7 @@ ber_get_string(struct ber_element *elm, char **s)
{ {
if (elm->be_encoding != BER_TYPE_OCTETSTRING) if (elm->be_encoding != BER_TYPE_OCTETSTRING)
return -1; return -1;
/* Some components use getstring on binary data containing \0 */
/* XXX some components use getstring on binary data containing \0 */
#if 0 #if 0
if (memchr(elm->be_val, '\0', elm->be_len) != NULL) if (memchr(elm->be_val, '\0', elm->be_len) != NULL)
return -1; return -1;


Loading…
Cancel
Save