]> granicus.if.org Git - curl/commit
smb: properly check incoming packet boundaries
authorTobias Stoeckmann <tobias@stoeckmann.org>
Mon, 3 Oct 2016 19:48:31 +0000 (21:48 +0200)
committerDaniel Stenberg <daniel@haxx.se>
Sat, 8 Oct 2016 22:14:26 +0000 (00:14 +0200)
commit82720490628cb53a5fd41e27fcfebace27d3b5b0
tree9314fd95f9fb0c500c7ca77e1a5365b73a8bf40a
parentac8a3149133fd3420770baf37190e47f5f7a46c7
smb: properly check incoming packet boundaries

Not all reply messages were properly checked for their lengths, which
made it possible to access uninitialized memory (but this does not lead
to out of boundary accesses).

Closes #1052
lib/smb.c