After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 775579 - soup-headers: fix possible null dereference
soup-headers: fix possible null dereference
Status: RESOLVED FIXED
Product: libsoup
Classification: Core
Component: API
unspecified
Other All
: Normal normal
: ---
Assigned To: libsoup-maint@gnome.bugs
libsoup-maint@gnome.bugs
Depends on:
Blocks:
 
 
Reported: 2016-12-03 21:06 UTC by Ignacio Casal Quinteiro (nacho)
Modified: 2016-12-05 14:52 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
soup-headers: fix possible null dereference (885 bytes, patch)
2016-12-03 21:06 UTC, Ignacio Casal Quinteiro (nacho)
committed Details | Review

Description Ignacio Casal Quinteiro (nacho) 2016-12-03 21:06:03 UTC
We should get the lenght after checking if token is not null.
Comment 1 Ignacio Casal Quinteiro (nacho) 2016-12-03 21:06:07 UTC
Created attachment 341330 [details] [review]
soup-headers: fix possible null dereference
Comment 2 Ignacio Casal Quinteiro (nacho) 2016-12-05 14:52:33 UTC
Thanks for the review

Attachment 341330 [details] pushed as cf21cfa - soup-headers: fix possible null dereference