aboutsummaryrefslogtreecommitdiffstats
path: root/wsutil/sign_ext.h
AgeCommit message (Collapse)AuthorFilesLines
2014-11-01Validate no_of_bits in ws_sign_ext32 and ws_sign_ext64Stig Bjørlykke1-0/+10
The result of the '<<' expression is undefined if no_of_bits - 1 is negative. Change-Id: I3fff09afe414bdd9d6736ee351f1c542c503b93d Reviewed-on: https://code.wireshark.org/review/4698 Reviewed-by: Evan Huus <eapache@gmail.com> Petri-Dish: Evan Huus <eapache@gmail.com> Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org> Reviewed-by: Alexis La Goutte <alexis.lagoutte@gmail.com>
2014-03-04Remove all $Id$ from top of fileAlexis La Goutte1-2/+0
(Using sed : sed -i '/^ \* \$Id\$/,+1 d') Fix manually some typo (in export_object_dicom.c and crc16-plain.c) Change-Id: I4c1ae68d1c4afeace8cb195b53c715cf9e1227a8 Reviewed-on: https://code.wireshark.org/review/497 Reviewed-by: Anders Broman <a.broman58@gmail.com>
2013-12-26There's no need to mark inline functions with _U_Jakub Zawadzki1-6/+2
svn path=/trunk/; revision=54459
2013-12-19Another try at marking the ws_sign_ext functions possibly-unused.Gerald Combs1-4/+8
svn path=/trunk/; revision=54267
2013-12-19Try to fix a warning found by, but not related to, the ABI check.Gerald Combs1-2/+2
svn path=/trunk/; revision=54265
2013-12-17sign_ext.h: use G_GINT64_CONSTANT(), add sample for alternative method of ↵Jakub Zawadzki1-2/+12
sign extension. Alternative method looks much nicer in dissasembly. svn path=/trunk/; revision=54202
2013-12-17Create sign extension routines in <wsutil/sign_ext.h>, use it in few places.Jakub Zawadzki1-0/+50
svn path=/trunk/; revision=54197