[Bug 236937] libxo =xml Segmentation fault with a huge string (>30000)

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Tue Apr 2 04:44:41 UTC 2019


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=236937

--- Comment #2 from Alfonso S. Siciliano <alfix86 at gmail.com> ---
Thank you for your comment,

% sysctl -n debug.witness.fullgraph > oid-only-value.txt

The output is:
https://gitlab.com/alfix/nsysctl/blob/master/oid-only-value.txt
Raw:
https://gitlab.com/alfix/nsysctl/raw/master/oid-only-value.txt
(I' ll send an email, too)

The output of the drive:

% cc huge-string.c -o huge-string -lxo

% ./huge-string --libxo=text,pretty oid-only-value.txt 
3476034760

% ./huge-string --libxo=xml,pretty oid-only-value.txt
<valuelen>34760</valuelen>
Segmentation fault (core dumped)

Regards,
Alfonso

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-bugs mailing list